CVE-2026-40173
Dgraph: Unauthenticated /debug/pprof/cmdline discloses admin auth token, enabling unauthorized access to protected Alpha admin endpoints
Summary
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/dgraph-io/dgraph/v25@v25.3.2
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (3)
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| github.com/dgraph-io/dgraph/v25 | go | All versions | 25.3.2 |
| github.com/dgraph-io/dgraph | go | All versions | Range-based data available |
| github.com/dgraph-io/dgraph/v24 | go | All versions | Range-based data available |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-200Information ExposureMITRE
- CWE-215
- CWE-522
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.4 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
References
Frequently Asked Questions
- What is CVE-2026-40173?
- Dgraph: Unauthenticated /debug/pprof/cmdline discloses admin auth token, enabling unauthorized access to protected Alpha admin endpoints This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.4/10).
- How do I check if my project is affected by CVE-2026-40173?
- CVE-2026-40173 affects github.com/dgraph-io/dgraph/v25, github.com/dgraph-io/dgraph and github.com/dgraph-io/dgraph/v24. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-40173 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2026-77414CRITICAL
JSONata vulnerable to Arbitrary Code Execution via crafted JSONata expressions
- CVE-2026-77415CRITICAL
JSONata vulnerable to Arbitrary Code Execution via crafted JSONata expressions
- CVE-2026-77413CRITICAL
JSONata: Arbitrary Code Execution via crafted JSONata expressions
- CVE-2026-41327CRITICAL
Dgraph: Pre-Auth Full Database Exfiltration via DQL Injection in Upsert Condition Field
- CVE-2026-34976CRITICAL
Dgraph: Pre-Auth Database Overwrite + SSRF + File Read via restoreTenant Missing Authorization
- CVE-2026-54061CRITICAL
Dgraph Alpha group stores can be replaced via unauthenticated external snapshot import
- CVE-2026-41492CRITICAL
Dgraph: Unauthenticated Admin Token Disclosure Leading to Authentication Bypass via /debug/vars
- CVE-2026-41328CRITICAL
Dgraph: Pre-Auth Full Database Exfiltration via DQL Injection in NQuad Lang Field
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies