CVE-2026-142181
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
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
CWEs
CWE-215
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.