Dgraph: Unauthenticated pprof endpoint leaks admin auth token
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · High · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-200.
Summary
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 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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| dgraph-io | dgraph | before 25.3.2 | 25.3.2 | Patch available | CNA |
| — | github.com/dgraph-io/dgraph/v25 (Go) | before 25.3.2 | 25.3.2 | Patch available | GHSA-95mq-xwj4-r47p |
| — | github.com/dgraph-io/dgraph/v24 (Go) | up to 24.1.7 | — | No fix listed | GHSA-95mq-xwj4-r47p |
| — | github.com/dgraph-io/dgraph (Go) | up to 1.2.8 | — | No fix listed | GHSA-95mq-xwj4-r47p |
- dgraph Vendordgraph-io Affected before 25.3.2 Fixed in 25.3.2 Patch available CNA
- github.com/dgraph-io/dgraph/v25 (Go) Vendor— Affected before 25.3.2 Fixed in 25.3.2 Patch available GHSA-95mq-xwj4-r47p
- github.com/dgraph-io/dgraph/v24 (Go) Vendor— Affected up to 24.1.7 Fixed in — No fix listed GHSA-95mq-xwj4-r47p
- github.com/dgraph-io/dgraph (Go) Vendor— Affected up to 1.2.8 Fixed in — No fix listed GHSA-95mq-xwj4-r47p
Remediation
- Fix · CNA dgraph (dgraph-io) Fixed in 25.3.2
- Fix · GHSA-95mq-xwj4-r47p github.com/dgraph-io/dgraph/v25 (Go) Fixed in 25.3.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-40173
- 2026-10-03 Alias added: GHSA-95mq-xwj4-r47p
References
More dgraph-io Dgraph vulnerabilities
- TI-2026-30079 Unauthenticated Admin Token Disclosure Leading to Authentication Bypass via /debug/vars in Dgraph CVSS 3.1CRITICAL 9.8
- TI-2026-27198 Dgraph Affected by Pre-Auth Database Overwrite + SSRF + File Read via restoreTenant Missing Authorization CVSS 3.1CRITICAL 10.0
- TI-2026-29929 Dgraph: Pre-Auth Full Database Exfiltration via DQL Injection in NQuad Lang Field CVSS 3.1CRITICAL 9.1
- TI-2026-29928 Dgraph: Pre-Auth Full Database Exfiltration via DQL Injection in Upsert Condition Field CVSS 3.1CRITICAL 9.1
- TI-2023-14845 Dgraph Audit Log Encryption nonce reuse CVSS 3.1MEDIUM 5.5
Sources
- CVE-2026-40173 · CVE Program
- CVE-2026-40173 · NVD
- FIRST EPSS
- GHSA-95mq-xwj4-r47p · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences