CVE-2026-41492 Unauthenticated Admin Token Disclosure Leading to Authentication Bypass via /debug/vars in Dgraph
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
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.
Upgrade path
4 packages: 2 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| dgraph-io dgraph(Go) | < 25.3.3; <= 1.2.8; <= 24.1.8; All versions | 25.3.3 | Partially fixed |
| dgraph | < 25.3.3 | 25.3.3 | Fixed |
| hypermodeinc github.com/hypermodeinc/dgraph/v24(Go) | < 24.1.9 | 24.1.9 | Fixed |
| dgraph-io dgraph | = < 25.3.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| dgraph-io dgraph | = < 25.3.3 | No fix listed |
| dgraph-io dgraph(Go) | < 25.3.3 | 25.3.3 |
| dgraph-io dgraph(Go) | <= 24.1.8 | No fix listed |
| dgraph-io dgraph(Go) | <= 1.2.8 | No fix listed |
| dgraph-io dgraph(Go) | All versions | No fix listed |
| hypermodeinc github.com/hypermodeinc/dgraph/v24(Go) | < 24.1.9 | 24.1.9 |
| dgraph | < 25.3.3 | 25.3.3 |
References
- https://github.com/dgraph-io/dgraph/security/advisories/GHSA-vvf7-6rmr-m29q exploit vendor-advisory
- https://github.com/dgraph-io/dgraph/releases/tag/v25.3.3 release-notes
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com