Description
Dgraph 25.4.0 through 25.5.1 contains an information disclosure vulnerability that allows unauthenticated remote attackers to read the Zero admin token by querying unsanitized /debug/pprof/cmdline and /debug/vars handlers. Attackers can extract the --security token from the exposed command line and call protected endpoints such as /removeNode, /moveTablet, /assign, and /state to disrupt or reconfigure the cluster.
Metrics
CVSS 3.1 8.6/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| dgraph-io | Dgraph | >= 25.4.0, <= 25.5.1 |
References
- https://github.com/dgraph-io/dgraph/blob/v25.5.1/dgraph/cmd/alpha/run.go#L609-L611
- https://github.com/dgraph-io/dgraph/blob/v25.5.1/dgraph/cmd/zero/run.go#L320-L330
- https://github.com/dgraph-io/dgraph/blob/v25.5.1/x/server.go#L98-L140
- https://www.vulncheck.com/advisories/dgraph-25.4.0-through-25.5.1-zero-admin-token-disclosure-via-debug-endpoints
Timeline
- Published
- Dec 2, 2026
- Last modified
- Dec 2, 2026
- NVD status
- Deferred