GO-2026-5274

Dgraph: Unauthenticated admin token disclosure via /debug/pprof/cmdline in github.com/dgraph-io/dgraph

At a glance

Published
Updated
CVE
CVE-2026-40173
Aliases
GHSA-95mq-xwj4-r47p

Description

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

PackageVersions
Go · github.com/dgraph-io/dgraphintroduced 0
Go · github.com/dgraph-io/dgraph/v25introduced 0, fixed 25.3.2
Go · github.com/hypermodeinc/dgraph/v24introduced 0, fixed 24.1.9

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database