CVE 9.8 CRITICAL

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

9.8 / 10
CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

AI Analysis

Unauthenticated admin token disclosure leading to authentication bypass via /debug/vars

Basic Information

ID CVE-2026-41492
Source GitHub_M
Published Apr 24, 2026 at 18:29
Modified Apr 24, 2026 at 19:13

Affected Product

Vendor dgraph-io
Product dgraph
Version < 25.3.3
Affected Versions dgraph-io dgraph < 25.3.3

CWE Classification

AI Assessment

AI Score 9.8 / 10
AI Severity Critical
Vendor Dgraph
Product Dgraph
Version < 25.3.3

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.