Read the docs
TI-2026-28987 Aliases CVE-2026-40173GHSA-95mq-xwj4-r47p

Dgraph: Unauthenticated pprof endpoint leaks admin auth token

Priority HIGH 82CWE-200Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
High · High · Low
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-200.

Summary

Dgraph is an open source distributed GraphQL database. Versions 25.3.1 and prior contain an unauthenticated credential disclosure vulnerability where the /debug/pprof/cmdline endpoint is registered on the default mux and reachable without authentication, exposing the full process command line including the admin token configured via the --security "token=..." startup flag. An attacker can retrieve the leaked token and reuse it in the X-Dgraph-AuthToken header to gain unauthorized access to admin-only endpoints such as /admin/config/cache_mb, bypassing the adminAuthHandler token validation. This enables unauthorized privileged administrative access including configuration changes and operational control actions in any deployment where the Alpha HTTP port is reachable by untrusted parties. This issue has been fixed in version 25.3.2.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00509 43rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed dgraph (dgraph-io): 25.3.2github.com/dgraph-io/dgraph/v25 (Go): 25.3.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
dgraph-iodgraphbefore 25.3.225.3.2Patch availableCNA
—github.com/dgraph-io/dgraph/v25 (Go)before 25.3.225.3.2Patch availableGHSA-95mq-xwj4-r47p
—github.com/dgraph-io/dgraph/v24 (Go)up to 24.1.7—No fix listedGHSA-95mq-xwj4-r47p
—github.com/dgraph-io/dgraph (Go)up to 1.2.8—No fix listedGHSA-95mq-xwj4-r47p
  • dgraph Vendordgraph-io Affected before 25.3.2 Fixed in 25.3.2 Patch available CNA
  • github.com/dgraph-io/dgraph/v25 (Go) Vendor— Affected before 25.3.2 Fixed in 25.3.2 Patch available GHSA-95mq-xwj4-r47p
  • github.com/dgraph-io/dgraph/v24 (Go) Vendor— Affected up to 24.1.7 Fixed in — No fix listed GHSA-95mq-xwj4-r47p
  • github.com/dgraph-io/dgraph (Go) Vendor— Affected up to 1.2.8 Fixed in — No fix listed GHSA-95mq-xwj4-r47p

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:dgraph:dgraph:*:*:*:*:*:go:*:*before 25.3.2Vulnerabledgraph-io
  • cpe:2.3:a:dgraph:dgraph:*:*:*:*:*:go:*:* Versions before 25.3.2 Vulnerable ·dgraph-io

Remediation

  • Fix · CNA dgraph (dgraph-io) Fixed in 25.3.2
  • Fix · GHSA-95mq-xwj4-r47p github.com/dgraph-io/dgraph/v25 (Go) Fixed in 25.3.2 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-40173
  2. 2026-10-03 Alias added: GHSA-95mq-xwj4-r47p

References

  • TI-2026-30079 Unauthenticated Admin Token Disclosure Leading to Authentication Bypass via /debug/vars in Dgraph CVSS 3.1CRITICAL 9.8
  • TI-2026-27198 Dgraph Affected by Pre-Auth Database Overwrite + SSRF + File Read via restoreTenant Missing Authorization CVSS 3.1CRITICAL 10.0
  • TI-2026-29929 Dgraph: Pre-Auth Full Database Exfiltration via DQL Injection in NQuad Lang Field CVSS 3.1CRITICAL 9.1
  • TI-2026-29928 Dgraph: Pre-Auth Full Database Exfiltration via DQL Injection in Upsert Condition Field CVSS 3.1CRITICAL 9.1
  • TI-2023-14845 Dgraph Audit Log Encryption nonce reuse CVSS 3.1MEDIUM 5.5

Sources