{"id":"CVE-2026-41492","published":"2026-04-24T18:29:40Z","modified":"2026-04-24T19:13:03Z","title":"Unauthenticated Admin Token Disclosure Leading to Authentication Bypass via /debug/vars in Dgraph","vendor":"dgraph-io","product":"dgraph","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03082,"percentile":0.88005,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/dgraph-io/dgraph/security/advisories/GHSA-vvf7-6rmr-m29q","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/dgraph-io/dgraph/releases/tag/v25.3.3","tags":["x_refsource_MISC"]}],"priority":{"score":29.5,"factors":[{"name":"EPSS percentile","points":17.6},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"exploitSources":{"nuclei":[{"id":"CVE-2026-41492","name":"Dgraph <= 25.3.2 - Admin Token Disclosure","severity":"critical","path":"http/cves/2026/CVE-2026-41492.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-41492.yaml"}],"provenance":"source"},"vendorSlug":"dgraph-io","affectedVersions":[{"vendor":"dgraph-io","product":"dgraph","versions":["< 25.3.3"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-04-24T19:12:18.464706Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/dgraph-io/dgraph/v25","vulnerableRanges":["<25.3.3"],"patched":["25.3.3"],"from":["GHSA-vvf7-6rmr-m29q","GO-2026-5675"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/dgraph-io/dgraph/v24","vulnerableRanges":["<=24.1.8"],"patched":[],"from":["GHSA-vvf7-6rmr-m29q"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/dgraph-io/dgraph","vulnerableRanges":["<=1.2.8","all versions"],"patched":[],"from":["GHSA-vvf7-6rmr-m29q","GO-2026-5675"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/hypermodeinc/dgraph/v24","vulnerableRanges":["<24.1.9"],"patched":["24.1.9"],"from":["GO-2026-5675"],"provenance":"source"}],"summary":{"text":"The Dgraph Alpha component exposes its process command line, including any admin token supplied via the --security \"token=...\" startup flag, through the unauthenticated /debug/vars endpoint in Dgraph versions before 25.3.3. An unauthenticated attacker with network access to that endpoint can retrieve the admin token and replay it in the X-Dgraph-AuthToken header to reach admin-only endpoints, with no authentication or user interaction required and only if the token was passed on the command line.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:35:22Z"},"euvd":{"id":"EUVD-2026-25599","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-40173","published":"2026-04-15","fixed":"25.3.2","kev":false,"link":{"from":"CVE-2026-40173","to":"CVE-2026-41492","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/dgraph-io/dgraph/v25","fromFixed":"25.3.2","toFixed":"25.3.3","daysApart":9},{"kind":"similar","provenance":"machine","score":0.42,"basis":"same product + CWE + description similarity"}]}},{"cve":"CVE-2026-41327","published":"2026-04-24","fixed":"25.3.3","kev":false,"link":{"from":"CVE-2026-41327","to":"CVE-2026-41492","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/hypermodeinc/dgraph/v24","fromFixed":"24.1.8","toFixed":"24.1.9","daysApart":0}]}},{"cve":"CVE-2026-41328","published":"2026-04-24","fixed":"25.3.3","kev":false},{"cve":"CVE-2026-41492","published":"2026-04-24","fixed":"25.3.3","kev":false},{"cve":"CVE-2026-44840","published":"2026-07-08","fixed":"25.3.4","kev":false},{"cve":"CVE-2026-54061","published":"2026-07-08","fixed":"25.3.5","kev":false},{"cve":"CVE-2026-102748","published":"2026-10-14","fixed":"25.4.0","kev":false}],"package":"Go:github.com/dgraph-io/dgraph/v25"}}