Skip to main content
VulnerabilityPublished

CVE-2026-40173: dgraph · Information Exposure

Affects dgraphSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 9.4 Critical : upgrade to 25.3.2 as a priority.

Data as of 30 Oct 2026, 06:59 UTC

CVSS 3.1 base score
9.4Critical
How severe the flaw is on the 0–10 CVSS scale.

Contested

Critical score, yet low EPSS after six months
EPSS
0.5% chance of exploitation in 30 days – higher than 43% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 25.3.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 15 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade dgraph and dgraph-io/dgraph to 25.3.2.

Affected software

ProductAffectedFixed in
dgraph-iodgraphAffected
  • <25.3.2
Fixed in
  • 25.3.2
GitHubdgraph-io/dgraphpkg:github/dgraph-io/dgraphOther threatsAffected
  • <25.3.2
Fixed in
  • 25.3.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade Dgraph to version 25.3.2 or later, where this vulnerability is fixed. Until the upgrade is applied, restrict access to the Alpha HTTP port to trusted parties only to prevent unauthorized access to the /debug/pprof/cmdline endpoint. Patch status is confirmed fixed in version 25.3.2.

Description

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.

References

Community reviews

Loading reviews…