Vulnerabilities in pkg:golang/github.com/ccfos/nightingale/v6

PACKAGE
Advisory Identifier: GHSA-27c6-wp53-387x
Advisory Summary

CVE-2026-58167 is a HIGH (CVSS 6.5) remote code execution vulnerability (CWE-862: Missing Authorization) affecting Github.com/ccfos/nightingale/v6 libraries in the Go ecosystem. The issue involves nightingale exposes datasource credentials to low-privilege users. Remediation is available by upgrading affected packages to version 6.7.3-0.20260528033214-762819fbaa23.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/ccfos/nightingale/v6

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/ccfos/nightingale/v6. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-27c6-wp53-387x CVE-2026-58167 HIGH Nightingale exposes datasource credentials to low-privilege users

CVE-2026-58167 at a Glance

CVE Identifier CVE-2026-58167
GHSA Identifier GHSA-27c6-wp53-387x
Severity HIGH
CVSS v3.1 Base Score 6.5
CWE Classification CWE-862: Missing Authorization
Affected Product Github.com/ccfos/nightingale/v6
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2026-58167

To remediate this vulnerability, upgrade all affected Github.com/ccfos/nightingale/v6 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/ccfos/nightingale/v6 fixed: 6.7.3-0.20260528033214-762819fbaa23
Upgrade github.com/ccfos/nightingale/v6 to 6.7.3-0.20260528033214-762819fbaa23
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/ccfos/nightingale/v6

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-58167, inspect your project dependencies for Github.com/ccfos/nightingale/v6:

inspect dependencies for github.com/ccfos/nightingale/v6

Analyze the terminal output to locate any version of Github.com/ccfos/nightingale/v6 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.7.3-0.20260528033214-762819fbaa23), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In Github.com/ccfos/nightingale/v6, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

CVE-2026-58167 Affected Github.com/ccfos/nightingale/v6 Versions

1 component(s)
Fixed Versions:
6.7.3-0.20260528033214-762819fbaa23
Product / Package Ecosystem Affected Versions Fixed Version
github.com/ccfos/nightingale/v6
Go
< 6.7.3-0.20260528033214-762819fbaa23
6.7.3-0.20260528033214-762819fbaa23

References

Frequently Asked Questions

What is CVE-2026-58167?
CVE-2026-58167 is a security vulnerability in Github.com/ccfos/nightingale/v6 involving Nightingale exposes datasource credentials to low-privilege users under CWE-862: Missing Authorization.
Which Github.com/ccfos/nightingale/v6 versions are affected?
Affected versions include releases prior to 6.7.3-0.20260528033214-762819fbaa23 across affected packages: github.com/ccfos/nightingale/v6.
What version fixes CVE-2026-58167?
Upgrading to 6.7.3-0.20260528033214-762819fbaa23 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/ccfos/nightingale/v6 affected?
Yes, github.com/ccfos/nightingale/v6 is affected in releases prior to 6.7.3-0.20260528033214-762819fbaa23. Upgrade your dependency to 6.7.3-0.20260528033214-762819fbaa23 or later.
What is the CVSS score of CVE-2026-58167?
CVE-2026-58167 has a CVSS v3.1 base score of 6.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2026-58167?
CVE-2026-58167 is classified under CWE-862: Missing Authorization (The product does not perform an authorization check when an actor attempts to access a resource or perform an action.).
How can I check Go dependencies for CVE-2026-58167?
Run the dependency tree command: 'inspect dependencies for github.com/ccfos/nightingale/v6'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-27c6-wp53-387x",
  "modified" : "2026-10-02T18:28:18Z",
  "published" : "2026-06-30T18:31:38Z",
  "aliases" : [ "CVE-2026-58167" ],
  "summary" : "Nightingale exposes datasource credentials to low-privilege users",
  "details" : "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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/ccfos/nightingale/v6"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "6.7.3-0.20260528033214-762819fbaa23"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-58167"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ccfos/nightingale/issues/3173"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ccfos/nightingale/pull/3175"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ccfos/nightingale/commit/762819fbaa2350b73bce45bfaf6f8cf74b4abef8"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ccfos/nightingale"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ccfos/nightingale/releases/tag/v9.0.0-beta.2"
  }, {
    "type" : "WEB",
    "url" : "https://www.vulncheck.com/advisories/nightingale-beta-2-datasource-credential-disclosure-to-low-privilege-users"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-862" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-10-02T18:28:18Z",
    "nvd_published_at" : "2026-06-30T17:16:23Z"
  }
}