GitHub Advisoryadvisory · Go
GHSA-27c6-wp53-387x Nightingale exposes datasource credentials to low-privilege users
HIGH
Official page ↗
- Aliases
- CVE-2026-58167
- Ecosystem
- Go
- Packages
- github.com/ccfos/nightingale/v6
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-862
- Reviewed
- 2026-10-02
Affected packages
• Go github.com/ccfos/nightingale/v6: < 6.7.3-0.20260528033214-762819fbaa23 → fixed in 6.7.3-0.20260528033214-762819fbaa23
Description
Nightingale (n9e) before 9.0.0-beta.2 exposes full datasource configurations, including plaintext database passwords, HTTP bearer tokens, HTTP basic-auth passwords, and mTLS client keys, to any authenticated low-privilege (Standard role) user through POST /api/n9e/datasource/list. The route is registered without an admin authorization gate, unlike the sibling datasource mutation routes, and the open-source DatasourceFilter does not redact secret fields, so the secret-bearing settings, http, and auth objects are serialized in the response. The disclosed credentials enable access to the connected downstream systems.
Related
Alias · CVE (1)
- CVE-2026-58167 Nightingale (n9e) before 9.0.0-beta.2 exposes full datasource configurations, including plaintext database passwords, HTTP bearer tokens,… vulnerability
Weakness · CWE (1)
- CWE-862 Missing Authorization weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-58167 advisory
- https://github.com/ccfos/nightingale/issues/3173 web
- https://github.com/ccfos/nightingale/pull/3175 web
- https://github.com/ccfos/nightingale/commit/762819fbaa2350b73bce45bfaf6f8cf74b4abef8 web
- https://github.com/ccfos/nightingale package
- https://github.com/ccfos/nightingale/releases/tag/v9.0.0-beta.2 web
- https://www.vulncheck.com/advisories/nightingale-beta-2-datasource-credential-disclosure-to-low-privilege-users web