{"cve":"CVE-2026-40173","nvd":{"published":"2026-04-15T21:17:27.197","modified":"2026-06-17T10:44:48.950","status":"Analyzed","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","score":9.4},"cwes":["CWE-522","CWE-200","CWE-215"],"references":["https://github.com/dgraph-io/dgraph/releases/tag/v25.3.2","https://github.com/dgraph-io/dgraph/security/advisories/GHSA-95mq-xwj4-r47p","https://github.com/dgraph-io/dgraph/security/advisories/GHSA-95mq-xwj4-r47p"],"products":["dgraph:dgraph"],"source":"nvd","synced_at":"2026-10-19T22:30:49.762551342+00:00"},"epss":{"cve":"CVE-2026-40173","score":0.00509,"percentile":0.43444,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-95mq-xwj4-r47p","url":"https://osv.dev/vulnerability/GHSA-95mq-xwj4-r47p","summary":"Dgraph: Unauthenticated /debug/pprof/cmdline discloses admin auth token, enabling unauthorized access to protected Alpha admin endpoints","modified":"2026-09-10T03:51:01.341523291Z","packages":[{"ecosystem":"Go","name":"github.com/dgraph-io/dgraph/v25","purl":"pkg:golang/github.com/dgraph-io/dgraph/v25","ranges":["<25.3.2"],"fixed":["25.3.2"]},{"ecosystem":"Go","name":"github.com/dgraph-io/dgraph/v24","purl":"pkg:golang/github.com/dgraph-io/dgraph/v24","ranges":["<=24.1.7"],"fixed":[]},{"ecosystem":"Go","name":"github.com/dgraph-io/dgraph","purl":"pkg:golang/github.com/dgraph-io/dgraph","ranges":["<=1.2.8"],"fixed":[]}]},{"id":"GO-2026-5274","url":"https://osv.dev/vulnerability/GO-2026-5274","summary":"Dgraph: Unauthenticated admin token disclosure via /debug/pprof/cmdline in github.com/dgraph-io/dgraph","modified":"2026-08-11T20:33:01.945728099Z","packages":[{"ecosystem":"Go","name":"github.com/dgraph-io/dgraph","purl":"pkg:golang/github.com/dgraph-io/dgraph","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/dgraph-io/dgraph/v25","purl":"pkg:golang/github.com/dgraph-io/dgraph/v25","ranges":["<25.3.2"],"fixed":["25.3.2"]},{"ecosystem":"Go","name":"github.com/hypermodeinc/dgraph/v24","purl":"pkg:golang/github.com/hypermodeinc/dgraph/v24","ranges":["<24.1.9"],"fixed":["24.1.9"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}