---
title: "CVE-2026-40173: Dgraph: Unauthenticated /debug/pprof/cmdline discloses admin auth token, enabling unauthorized access to protected Alpha admin endpoints"
url: https://erroneo.us/security/cve/CVE-2026-40173/
description: "CVE-2026-40173 (github.com/dgraph-io/dgraph/v25 (Go)): Dgraph is an open source distributed GraphQL database. Versions 25.3.1 and prior contain an…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-04-15
date_modified: 2026-04-27
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-40173"
kev: false
cvss: 9.4
epss: 0.00597
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2026-40173: Dgraph: Unauthenticated /debug/pprof/cmdline discloses admin auth token, enabling unauthorized access to protected Alpha admin endpoints

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 0.6% , percentile 48: FIRST’s model estimates a 0.6% chance of exploitation activity in the next 30 days, higher than 48% of all scored CVEs (low). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes github.com/dgraph-io/dgraph/v25 (Go) < 25.3.2, fixed in 25.3.2 ; github.com/dgraph-io/dgraph/v24 (Go) <= 24.1.7, no fixed version listed ; github.com/dgraph-io/dgraph (Go) <= 1.2.8, no fixed version listed . Check your lockfile, including transitive dependencies.

## What it is

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/cachemb, 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.

## Affected packages

- Go `github.com/dgraph-io/dgraph/v25` < 25.3.2 → fixed: 25.3.2
- Go `github.com/dgraph-io/dgraph/v24` <= 24.1.7 → fixed: none listed
- Go `github.com/dgraph-io/dgraph` <= 1.2.8 → fixed: none listed

## Affected products (CVE record)

- dgraph-io dgraph: < 25.3.2

## Severity

- GitHub_M CVSS 3.1: 9.4 `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 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.60% probability of exploitation activity in the next 30 days; percentile 48.

## Sources

- [GitHub Advisory GHSA-95mq-xwj4-r47p](https://github.com/advisories/GHSA-95mq-xwj4-r47p)
- [CVE.org record CVE-2026-40173](https://www.cve.org/CVERecord?id=CVE-2026-40173)
- [NVD entry CVE-2026-40173](https://nvd.nist.gov/vuln/detail/CVE-2026-40173)
- [github.com](https://github.com/dgraph-io/dgraph/security/advisories/GHSA-95mq-xwj4-r47p)
- [github.com](https://github.com/dgraph-io/dgraph/releases/tag/v25.3.2)

---
Source page: https://erroneo.us/security/cve/CVE-2026-40173/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
