Home / dgraph-io / dgraph / CVE-2026-40173
CVE-2026-40173: is it exploited, and which versions of dgraph-io dgraph are affected and fixed?
CVE-2026-40173 is an information disclosure vulnerability in dgraph-io dgraph. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: github.com/dgraph-io/dgraph/v25 before 25.3.2, github.com/dgraph-io/dgraph/v24 through 24.1.7 and github.com/dgraph-io/dgraph through 1.2.8 (GitHub advisory GHSA-95mq-xwj4-r47p). Fixed in 25.3.2 (GitHub advisory GHSA-95mq-xwj4-r47p). Severity: Critical (9.4, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:12 UTC.
What is CVE-2026-40173?
Dgraph: Unauthenticated pprof endpoint leaks admin auth token
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.
From the CVE record by GitHub_M, last updated April 16, 2026, 12:05 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| dgraph-io | dgraph | < 25.3.2 |
As the CVE record by GitHub_M states it, last updated April 16, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/dgraph-io/dgraph/v25 | < 25.3.2 | 25.3.2 | GHSA-95mq-xwj4-r47p |
| Go | github.com/dgraph-io/dgraph/v24 | <= 24.1.7 | none listed | GHSA-95mq-xwj4-r47p |
| Go | github.com/dgraph-io/dgraph | <= 1.2.8 | none listed | GHSA-95mq-xwj4-r47p |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 16, 2026. Summary: Dgraph: Unauthenticated /debug/pprof/cmdline discloses admin auth token, enabling unauthorized access to protected Alpha admin endpoints.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| dgraph | dgraph | before 25.3.2 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 10:44 UTC.
How severe is CVE-2026-40173?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-40173 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: total (CISA ADP, April 16, 2026)
- EPSS
- 0.53% probability of exploitation activity in the next 30 days, percentile 46.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
- CWE-215 Insertion of Sensitive Information Into Debugging Code
- CWE-522 Insufficiently Protected Credentials
Where are the vendor advisories and references?
- https://github.com/dgraph-io/dgraph/security/advisories/GHSA-95mq-xwj4-r47p x_refsource_CONFIRM
- https://github.com/dgraph-io/dgraph/releases/tag/v25.3.2 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- April 9, 2026
- Published
- April 15, 2026, 20:40 UTC
- CVE record updated
- April 16, 2026, 12:05 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 10:44 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:12 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect dgraph?
- Dec 2, 2026CVE-2026-142181 dgraph-io Dgraph: insertion of Sensitive Information Into Debugging Code
- Oct 14, 2026CVE-2026-102748 dgraph-io dgraph: missing authentication for a critical function
- Aug 6, 2026CVE-2026-63637 dgraph-io dgraph: improper Neutralization of Special Elements in Data Query Logic
- Jul 8, 2026CVE-2026-44840 dgraph-io dgraph: improper Neutralization of Special Elements in Data Query Logic
- Jul 8, 2026CVE-2026-54061 dgraph-io dgraph: missing authentication for a critical function
- Apr 24, 2026CVE-2026-41492 dgraph-io dgraph: information disclosure
- Apr 24, 2026CVE-2026-41327 dgraph-io dgraph: improper Neutralization of Special Elements in Data Query Logic
- Apr 24, 2026CVE-2026-41328 dgraph-io dgraph: improper Neutralization of Special Elements in Data Query Logic
Questions about CVE-2026-40173
Is CVE-2026-40173 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 0.53% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of dgraph-io dgraph are affected by CVE-2026-40173?
github.com/dgraph-io/dgraph/v25 before 25.3.2, github.com/dgraph-io/dgraph/v24 through 24.1.7 and github.com/dgraph-io/dgraph through 1.2.8, per the GitHub advisory GHSA-95mq-xwj4-r47p. The tables above give every range the sources list.
Which version fixes CVE-2026-40173?
25.3.2, per the GitHub advisory GHSA-95mq-xwj4-r47p. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-40173?
Critical (9.4, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-40173?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.