Unauthenticated Admin Token Disclosure Leading to Authentication Bypass via /debug/vars in Dgraph
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · High · High
- 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. 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.
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.3 | 25.3.3 | Patch available | CNA |
| — | github.com/dgraph-io/dgraph/v25 (Go) | before 25.3.3 | 25.3.3 | Patch available | GHSA-vvf7-6rmr-m29q |
| — | github.com/dgraph-io/dgraph/v24 (Go) | up to 24.1.8 | — | No fix listed | GHSA-vvf7-6rmr-m29q |
| — | github.com/dgraph-io/dgraph (Go) | up to 1.2.8 | — | No fix listed | GHSA-vvf7-6rmr-m29q |
- dgraph Vendordgraph-io Affected before 25.3.3 Fixed in 25.3.3 Patch available CNA
- github.com/dgraph-io/dgraph/v25 (Go) Vendor— Affected before 25.3.3 Fixed in 25.3.3 Patch available GHSA-vvf7-6rmr-m29q
- github.com/dgraph-io/dgraph/v24 (Go) Vendor— Affected up to 24.1.8 Fixed in — No fix listed GHSA-vvf7-6rmr-m29q
- github.com/dgraph-io/dgraph (Go) Vendor— Affected up to 1.2.8 Fixed in — No fix listed GHSA-vvf7-6rmr-m29q
Remediation
- Fix · CNA dgraph (dgraph-io) Fixed in 25.3.3
- Fix · GHSA-vvf7-6rmr-m29q github.com/dgraph-io/dgraph/v25 (Go) Fixed in 25.3.3 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-41492
- 2026-10-03 Alias added: GHSA-vvf7-6rmr-m29q
References
More dgraph-io Dgraph vulnerabilities
- TI-2026-28987 Dgraph: Unauthenticated pprof endpoint leaks admin auth token CVSS 3.1CRITICAL 9.4
- 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-41492 · CVE Program
- CVE-2026-41492 · NVD
- FIRST EPSS
- GHSA-vvf7-6rmr-m29q · 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