CVE-2026-40173 json
Dgraph: Unauthenticated pprof endpoint leaks admin auth token
published 2026-04-15 6 mo ago modified 2026-09-10 1 mo ago also GHSA-95mq-xwj4-r47p , GO-2026-5274 , EUVD-2026-23117
- cvss
- 9.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 43%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/dgraph-io/dgraph/v25 25.3.2
- go github.com/hypermodeinc/dgraph/v24 24.1.9
- dgraph dgraph 25.3.2
- govulncheck-vulndb SLES for SAP applications 16.0, SLES 16.0 0.0.20260827T195228-160000.1.1
suse advisories SUSE-SU-2026:23625-1
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260827T195228-160000.1.1
opensuse advisories openSUSE-SU-2026:21761-1
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 6 mo ago
Exploit prediction
0.51% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/dgraph-io/dgraph/security/advisories/GHSA-95mq-xwj4-r47p referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L |
| GitHub | 3.1 | 9.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/dgraph-io/dgraph/v25 | <25.3.2 |
25.3.2 |
| go | github.com/dgraph-io/dgraph/v24 | <=24.1.7 |
no fix listed |
| go | github.com/dgraph-io/dgraph | <=1.2.8 all versions |
no fix listed |
| go | github.com/hypermodeinc/dgraph/v24 | <24.1.9 |
24.1.9 |
Affected products
- dgraph-io dgraph
Classification
References
-
github.com
/dgraph-io/dgraph/security/advisories/GHSA-95mq-xwj4-r47p
exploit, web, vendor-advisory, advisory
-
github.com
/dgraph-io/dgraph/releases/tag/v25.3.2
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-40173
advisory
-
github.com
/dgraph-io/dgraph
package
Sources
- CVE List CVE-2026-40173
- GitHub Advisory GHSA-95mq-xwj4-r47p
- NVD CVE-2026-40173
- OSV GO-2026-5274
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.