CVE-2026-40173: Vulnerability in Dgraph

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

Go, CWE-200, CWE-215

Exploitation
None confirmed
Severity
9.4 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-95mq-xwj4-r47p
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
Weakness
CWE-200, CWE-215, CWE-522
Published
15 Apr 2026
Last change
17 Jun 2026
Ecosystem
Go

Affected products

Affected versions and the first fixed release

  • Dgraph Before 25.3.2. Fixed in 25.3.2

Affected packages

Vulnerable version ranges and fixed releases

  • github.com/dgraph-io/dgraph/v25 Go, Affected before 25.3.2. Fixed in 25.3.2
  • github.com/dgraph-io/dgraph/v24 Go, Affected through 24.1.7. No fixed version recorded
  • github.com/dgraph-io/dgraph Go, Affected through 1.2.8. No fixed version recorded

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related