Go Vulnerability Database
GO-2026-5274
Dgraph: Unauthenticated admin token disclosure via /debug/pprof/cmdline in github.com/dgraph-io/dgraph
Details
The /debug/pprof/cmdline endpoint in Dgraph Alpha discloses the command-line arguments used to start the process, which may include the administrator's authentication token if provided via the --auth_token flag. This allows an unauthenticated remote attacker to obtain the token and gain full administrative access to the Dgraph cluster.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/dgraph-io/dgraph | All versions, no fix listed |
| Go | github.com/dgraph-io/dgraph/v25 | All versions before 25.3.2 (fixed in 25.3.2) |
| Go | github.com/hypermodeinc/dgraph/v24 | All versions before 24.1.9 (fixed in 24.1.9) |