Skip to content

CVE-2026-41492 Unauthenticated Admin Token Disclosure Leading to Authentication Bypass via /debug/vars in Dgraph

CriticalCVSS 9.8 EPSS 3.1% Scanner template
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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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