Unauthenticated Admin Token Disclosure Leading to Authentication Bypass via /debug/vars in Dgraph
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| dgraph-io | dgraph | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Dgraph | Dgraph |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-vvf7-6rmr-m29q | Dgraph: Unauthenticated Admin Token Disclosure Leading to Authentication Bypass via /debug/vars |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: 3.1% (3.082% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:dgraph:dgraph:*:*:*:*:*:go:*:* |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Dgraph
Dgraph dgraph |
|
| Vendors & Products |
Dgraph
Dgraph dgraph |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Unauthenticated Admin Token Disclosure Leading to Authentication Bypass via /debug/vars in Dgraph | |
| Weaknesses | CWE-200 | |
| References |
| |
| Metrics |
cvssV3_1
|