{"id":"CVE-2026-40173","published":"2026-04-15T20:40:47Z","modified":"2026-04-16T12:05:10Z","title":"Dgraph: Unauthenticated pprof endpoint leaks admin auth token","vendor":"dgraph-io","product":"dgraph","tier":"tail","description":{"text":"Dgraph is an open source distributed GraphQL database. Versions 25.3.1 and prior contain an unauthenticated credential disclosure vulnerability where the /debug/pprof/cmdline endpoint is registered on the default mux and reachable without authentication, exposing the full process command line including the admin token configured via the --security \"token=...\" startup flag. An attacker can retrieve the leaked token and reuse it in the X-Dgraph-AuthToken header to gain unauthorized access to admin-only endpoints such as /admin/config/cache_mb, bypassing the adminAuthHandler token validation. This enables unauthorized privileged administrative access including configuration changes and operational control actions in any deployment where the Alpha HTTP port is reachable by untrusted parties. This issue has been fixed in version 25.3.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.4,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00518,"percentile":0.44923,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"},{"id":"CWE-215","name":"Insertion of Sensitive Information Into Debugging Code"}],"references":[{"url":"https://github.com/dgraph-io/dgraph/security/advisories/GHSA-95mq-xwj4-r47p","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/dgraph-io/dgraph/releases/tag/v25.3.2","tags":["x_refsource_MISC"]}],"priority":{"score":15.6,"factors":[{"name":"EPSS percentile","points":8.98},{"name":"CVSS severity","points":6.58}]},"vendorSlug":"dgraph-io","affectedVersions":[{"vendor":"dgraph-io","product":"dgraph","versions":["< 25.3.2"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-04-16T11:26:03.429575Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/dgraph-io/dgraph/v25","vulnerableRanges":["<25.3.2"],"patched":["25.3.2"],"from":["GHSA-95mq-xwj4-r47p","GO-2026-5274"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/dgraph-io/dgraph/v24","vulnerableRanges":["<=24.1.7"],"patched":[],"from":["GHSA-95mq-xwj4-r47p"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/dgraph-io/dgraph","vulnerableRanges":["<=1.2.8","all versions"],"patched":[],"from":["GHSA-95mq-xwj4-r47p","GO-2026-5274"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/hypermodeinc/dgraph/v24","vulnerableRanges":["<24.1.9"],"patched":["24.1.9"],"from":["GO-2026-5274"],"provenance":"source"}],"summary":{"text":"The Dgraph distributed GraphQL database (dgraph product, dgraph-io vendor) exposes its /debug/pprof/cmdline endpoint on the default HTTP mux without authentication, which leaks the admin token passed via the --security \"token=...\" startup flag in the process command line. An unauthenticated remote attacker with network reachability to the Alpha HTTP port can retrieve that token and reuse it in the X-Dgraph-AuthToken header to access admin-only endpoints, such as configuration changes, without any user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:26:14Z"},"euvd":{"id":"EUVD-2026-23117","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-34976","published":"2026-04-06","fixed":"25.3.1","kev":false,"link":{"from":"CVE-2026-34976","to":"CVE-2026-40173","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/dgraph-io/dgraph/v25","fromFixed":"25.3.1","toFixed":"25.3.2","daysApart":9}]}},{"cve":"CVE-2026-40173","published":"2026-04-15","fixed":"25.3.2","kev":false},{"cve":"CVE-2026-41327","published":"2026-04-24","fixed":"25.3.3","kev":false,"link":{"from":"CVE-2026-40173","to":"CVE-2026-41327","relation":"successor","confidence":"low","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}]}},{"cve":"CVE-2026-41328","published":"2026-04-24","fixed":"25.3.3","kev":false,"link":{"from":"CVE-2026-40173","to":"CVE-2026-41328","relation":"successor","confidence":"low","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}]}},{"cve":"CVE-2026-41492","published":"2026-04-24","fixed":"25.3.3","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"}]}}],"package":"Go:github.com/dgraph-io/dgraph/v25"}}