What’s Vulnerable › Vulnerabilities
CVE-2026-41492: Unauthenticated Admin Token Disclosure Leading to Authentication Bypass via /debug/vars in Dgraph
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 3.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-04-24 · updated 2026-10-25
- Weakness: CWE-200
Description
Dgraph is an open source distributed GraphQL database. Prior to 25.3.3, Dgraphl exposes the process command line through the unauthenticated /debug/vars endpoint on Alpha. Because the admin token is commonly supplied via the --security "token=..." startup flag, an unauthenticated attacker can retrieve that token and replay it in the X-Dgraph-AuthToken header to access admin-only endpoints. This is a variant of the previously fixed /debug/pprof/cmdline issue, but the current fix is incomplete because it blocks only /debug/pprof/cmdline and still serves http.DefaultServeMux, which includes expvar's /debug/vars handler. This vulnerability is fixed in 25.3.3.
Affected products
- dgraph-io dgraph: before 25.3.3 — fixed in 25.3.3
How to fix
Upgrade to a fixed version: dgraph-io dgraph 25.3.3. Check the vendor advisory for mitigations.
References
- https://github.com/dgraph-io/dgraph/releases/tag/v25.3.3
- https://github.com/dgraph-io/dgraph/security/advisories/GHSA-vvf7-6rmr-m29q
- https://github.com/dgraph-io/dgraph/security/advisories/GHSA-vvf7-6rmr-m29q
Get alerted when CVE-2026-41492 or the next vulnerability affects your stack