Command Line Exposure in Dgraph Database by Dgraph.io
CVE-2026-41492
9.8CRITICAL
What is CVE-2026-41492?
Dgraph, an open-source distributed GraphQL database, has a vulnerability that allows unauthorized users to access sensitive command line parameters via the unauthenticated /debug/vars endpoint on Alpha before version 25.3.3. With knowledge of the admin token often passed as a startup flag, an attacker can exploit this weakness to retrieve the token and gain unauthorized access to admin endpoints by replaying it in the X-Dgraph-AuthToken header. Despite prior fixes addressing similar issues, this vulnerability persists due to incomplete remediation, as access to the http.DefaultServeMux, which includes expvar's /debug/vars handler, remains unaffected.
Affected Version(s)
dgraph < 25.3.3
