CVE-2026-58167: Nightingale exposes datasource credentials to low-privilege users
(updated )
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.
References
- github.com/advisories/GHSA-27c6-wp53-387x
- github.com/ccfos/nightingale/commit/762819fbaa2350b73bce45bfaf6f8cf74b4abef8
- github.com/ccfos/nightingale/issues/3173
- github.com/ccfos/nightingale/pull/3175
- github.com/ccfos/nightingale/releases/tag/v9.0.0-beta.2
- nvd.nist.gov/vuln/detail/CVE-2026-58167
- www.vulncheck.com/advisories/nightingale-beta-2-datasource-credential-disclosure-to-low-privilege-users
Code Behaviors & Features
Detect and mitigate CVE-2026-58167 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →