# CVE-2026-142181: Dgraph 25.4.0 through 25.5.1 Zero Admin Token Disclosure via Debug Endpoints

Source: https://aplosec.si/cve/CVE-2026-142181/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-142181

High 8.8 · Reported · No fix listed · CWE-215 · Go

# Dgraph 25.4.0 through 25.5.1 Zero Admin Token Disclosure via Debug Endpoints

CVE-2026-142181 · published 2026-12-02

In plain words: this type of bug can expose passwords, tokens or private data to people who should not see them (information exposure). No fixed release is listed yet.

## Summary

CVE-2026-142181 affects Dgraph (Go) >= 25.4.0, <= 25.5.1: Zero Admin Token Disclosure via Debug Endpoints (CWE-215). No fixed release is listed. CVSS 4.0 base score 8.8 (High), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

No fixed release is listed in the advisory. Check the references for upstream status.

## References

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/dgraph-25.4.0-through-25.5.1-zero-admin-token-disclosure-via-debug-endpoints](https://www.vulncheck.com/advisories/dgraph-25.4.0-through-25.5.1-zero-admin-token-disclosure-via-debug-endpoints)

- [Vulnerable codehttps://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/dgraph/cmd/zero/run.go#L320-L330)

- [Vulnerable codehttps://github.com/dgraph-io/dgraph/blob/v25.5.1/x/server.go#L98-L140](https://github.com/dgraph-io/dgraph/blob/v25.5.1/x/server.go#L98-L140)

- [Vulnerable codehttps://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/alpha/run.go#L609-L611)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-142181](https://www.cve.org/CVERecord?id=CVE-2026-142181)

**Severity:** High 8.8 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-142181)

**Package:** Dgraph

**Ecosystem:** Go

**Affected:** >= 25.4.0, <= 25.5.1

**Fixed:** None

**Weakness:** CWE-215

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
