# GHSA-27C6-WP53-387X: Nightingale exposes datasource credentials to low-privilege users

- Database: GitHub
- Severity: high (stated by ghsa, no CVSS score)
- Published: 2026-06-30
- Modified: 2026-10-07

## Tracked as

- [CVE-2026-58167](https://cve.now/CVE-2026-58167.md): Nightingale \< 9.0.0-beta.2 - Datasource Credential Disclosure to Low-Privilege Users

## Also published as

- [GO-2026-6638](https://cve.now/GO-2026-6638.md) (Go)

## Affected versions

- github.com/ccfos/nightingale/v6 (Go): 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.

## References

- https://nvd.nist.gov/vuln/detail/CVE-2026-58167
- https://github.com/ccfos/nightingale/issues/3173
- https://github.com/ccfos/nightingale/pull/3175
- https://github.com/ccfos/nightingale/commit/762819fbaa2350b73bce45bfaf6f8cf74b4abef8
- https://github.com/ccfos/nightingale
- https://github.com/ccfos/nightingale/releases/tag/v9.0.0-beta.2
- https://www.vulncheck.com/advisories/nightingale-beta-2-datasource-credential-disclosure-to-low-privilege-users

Page: https://cve.now/GHSA-27C6-WP53-387X

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
