Dgraph
Unauthenticated Admin Token Disclosure Leading to Authentication Bypass via /debug/vars in Dgraph
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- < 25.3.3
Fixed in 25.3.3
Mitigation
Upgrade dgraph to 25.3.3 or later.
References
- Vendor advisory github.com/dgraph-io/dgraph/security/advisorie…
- Release notes github.com/dgraph-io/dgraph/releases/tag/v25.3…
Timeline
Days relative to CVE publicationFirst public PoC 4.3 days after publication; not in CISA KEV. First PoC: nuclei template: Dgraph <= 25.3.2 - Admin Token Disclosure (nuclei template, 29 Apr 2026).
PoC repositories
Found on GitHub.No PoC repositories found yet.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: Dgraph <= 25.3.2 - Admin Token Disclosure | 29 Apr 2026 | 14 Nov 2026 |