# CVE-2026-40173: Dgraph: Unauthenticated pprof endpoint leaks admin auth token

- Severity: Critical 9.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-15T20:40:47.186Z
- Modified: 2026-09-10T03:51:01.341Z
- Also known as: GHSA-95mq-xwj4-r47p, GO-2026-5274
- Weaknesses: CWE-200, CWE-215, CWE-522
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- dgraph-io dgraph: < 25.3.2
- github.com/dgraph-io/dgraph/v25 (Go): before 25.3.2
- github.com/dgraph-io/dgraph/v24 (Go): up to 24.1.7
- github.com/dgraph-io/dgraph (Go): up to 1.2.8; all versions
- github.com/hypermodeinc/dgraph/v24 (Go): before 24.1.9
- dgraph dgraph: before 25.3.2

## Every score

- GitHub_M: CVSS:3.1 9.4 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L`
- GitHub: CVSS:3.1 9.4 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L`

## References

- <https://github.com/dgraph-io/dgraph/security/advisories/GHSA-95mq-xwj4-r47p> (exploit, advisory, vendor-advisory, web)
- <https://github.com/dgraph-io/dgraph/releases/tag/v25.3.2> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40173> (advisory)
- <https://github.com/dgraph-io/dgraph> (package)

## Sources

- CVE List: [CVE-2026-40173](https://www.cve.org/CVERecord?id=CVE-2026-40173), CVE Terms of Use, modified 2026-04-16
- GitHub Advisory Database: [GHSA-95mq-xwj4-r47p](https://github.com/advisories/GHSA-95mq-xwj4-r47p), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-5274](https://pkg.go.dev/vuln/GO-2026-5274), CC-BY-4.0, modified 2026-08-11
- NVD: [CVE-2026-40173](https://nvd.nist.gov/vuln/detail/CVE-2026-40173), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-40173 · Whole record: https://cve.day/CVE-2026-40173.json · Rebuilt by cve.day 2026-11-25T22:59:18.876Z
