Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-142181: high-severity vulnerability (CVSS 8.8) in dgraph-io Dgraph.
What happened
Original description from the source: 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.
Why it matters
High severity, CVSS 8.8.
Affected products and versions
dgraph-io Dgraph >= 25.4.0, <= 25.5.1
| Product | Versions | Fixed in |
|---|---|---|
| dgraph-io Dgraph | >= 25.4.0, <= 25.5.1 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/dgraph-io/dgraph/blob/v25.5.1/dgraph/cmd/zero/run.go#L320-L330 — CVE Program
- https://github.com/dgraph-io/dgraph/blob/v25.5.1/x/server.go#L98-L140 — CVE Program
- https://github.com/dgraph-io/dgraph/blob/v25.5.1/dgraph/cmd/alpha/run.go#L609-L611 — CVE Program
- https://www.vulncheck.com/advisories/dgraph-25.4.0-through-25.5.1-zero-admin-token-disclosure-via-debug-endpoints — CVE Program
Weaknesses (CWE): CWE-215
Relevant change history
Published
Preliminary advisory published.