Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:LCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2026-40173 is a critical-severity Exposure of Sensitive Information to an Unauthorized Actor (CWE-200) vulnerability in Dgraph. Its CVSS base score is 9.4 (Critical).
Operationally, exploitation aligns with the MITRE ATT&CK technique Unsecured Credentials (T1552); ranked at the 44th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-4 (Information Flow Enforcement) — see the control section below for these in your framework.
Deeper analysis AI-assisted summary
Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.
CVE-2026-40173 is an unauthenticated credential disclosure vulnerability affecting Dgraph, an open source distributed GraphQL database, in versions 25.3.1 and prior. The issue stems from the /debug/pprof/cmdline endpoint being registered on the default mux and accessible without authentication, which exposes the full process command line. This includes the admin token configured via the --security "token=..." startup flag, enabling attackers to extract sensitive credentials directly.
Any unauthenticated attacker with network access to the Dgraph Alpha HTTP port can exploit this vulnerability. By querying the exposed endpoint, they retrieve the leaked admin token and reuse it in the X-Dgraph-AuthToken header to bypass the adminAuthHandler validation. This grants unauthorized access to admin-only endpoints, such as /admin/config/cache_mb, allowing privileged administrative actions like configuration changes and operational control in deployments exposed to untrusted parties. The CVSS v3.1 base score is 9.4 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L), with associated CWEs 200 (Exposure of Sensitive Information), 215 (Improper Handling of Credentials), and 522 (Insufficiently Protected Credentials).
The vulnerability has been fixed in Dgraph version 25.3.2, as detailed in the release notes at https://github.com/dgraph-io/dgraph/releases/tag/v25.3.2 and the security advisory at https://github.com/dgraph-io/dgraph/security/advisories/GHSA-95mq-xwj4-r47p. Security practitioners should upgrade to the patched version and review exposures of the Alpha HTTP port to mitigate risks.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2026-23117
Vulnerability Data
Dgraph is an open source distributed GraphQL database. Versions 25.3.1 and prior contain an unauthenticated credential disclosure vulnerability where the /debug/pprof/cmdline endpoint is registered on the default mux and reachable without authentication, exposing the full process command line including the…
more
admin token configured via the --security "token=..." startup flag. An attacker can retrieve the leaked token and reuse it in the X-Dgraph-AuthToken header to gain unauthorized access to admin-only endpoints such as /admin/config/cache_mb, bypassing the adminAuthHandler token validation. This enables unauthorized privileged administrative access including configuration changes and operational control actions in any deployment where the Alpha HTTP port is reachable by untrusted parties. This issue has been fixed in version 25.3.2.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
—
V13.4.2
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
Access enforcement directly stops unauthorized actors from obtaining sensitive information.
Information flow enforcement structurally prevents sensitive data from reaching unauthorized recipients.
Protection of information at rest prevents unauthorized exposure of stored sensitive data.
Transmission confidentiality mechanisms stop exposure of sensitive data on the wire.
Least privilege reduces the set of actors who can reach sensitive information.
Least functionality directly prohibits enabling unnecessary debug features that would expose the inserted sensitive data.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Secure SDLC practices directly prevent developers from embedding sensitive information inside debugging statements or code paths.
Explicitly calls for removing confidential data from processes, logs, and memory dumps that debug code commonly exposes.
Hardened configuration baselines and deployment checks can ensure debug features and associated data are disabled in production.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Penetration testing and vulnerability scanning are performed to discover unintended exposure of sensitive data resulting from misconfigurations or coding errors.
Restricting anonymous or unknown access and encrypting high-value information limits the exposure of sensitive data that would otherwise be obtainable by unauthorized actors.
By requiring removal or masking of sensitive operational data before it enters test environments, the control sharply reduces the chance that such data will be exposed to unauthorized actors who have access to those environments.
Training makes developers aware that debug code should not carry sensitive information and should be disabled in production, so a minority of instances are avoided; the remainder is the fallibility of human practice and developers who never receive or do not retain the specific guidance.
Data masking hides sensitive data from unauthorized viewers, blocking exploitation of the exposure for masked data, but it only covers data that is explicitly masked and does not address exposures from error messages, debug logs, or indirect information leaks.
CWE-215 is introduced at implementation when a developer writes debug code containing sensitive information; A.8.19 governs what is installed on operational systems, not what is written in source, so it does not prevent the weakness from coming into existence.
Hardening callouts derived
DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.