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

Published Dec 2, 2026
·
Updated

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.

Affected Software

1 affected component
Dgraph Dgraph>=25.4.0<=25.5.1

Event History

Dec 2, 2026
CVE Published
via MITRE·04:51 PM
Data Sourced
via MITRE·04:51 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to unauthenticated attack?

Dgraph versions 25.4.0 through 25.5.1 are exposed when the Zero debug handlers /debug/pprof/cmdline or /debug/vars are reachable by an unauthenticated remote attacker. The provided information does not specify whether these handlers are exposed in the default network configuration.

2

What does an attacker need to exploit this issue?

An attacker needs only network access to an exposed affected debug endpoint; no credentials or user interaction are required. They can read the Zero process command line and extract the value supplied to --security token.

3

What could indicate that a cluster has already been targeted?

Review access logs for unauthenticated requests to /debug/pprof/cmdline and /debug/vars. Also investigate calls to protected Zero endpoints including /removeNode, /moveTablet, /assign, and /state, particularly if they follow requests to the debug handlers.

4

What can be done if patching is not immediately possible?

Restrict unauthenticated network access to the Zero debug endpoints, especially /debug/pprof/cmdline and /debug/vars. If exposure is suspected, treat the Zero admin token as disclosed and investigate use of protected cluster-management endpoints.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203