cve.bz

CVE-2026-40173 dgraph dgraph: Insufficiently Protected Credentials

9.4 criticalExploit referenceEPSS 0.5%Fix available

Critical (9.4) in dgraph dgraph. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/dgraph-io/dgraph/v25 25.3.2.

On this page
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.

Severity

CVSS 3.1

9.4 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
EPSS
0.5% (unchanged from 0.5% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 45th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: total, assessed 2026-04-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-522 Insufficiently Protected Credentials
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
CWE-215 Insertion of Sensitive Information Into Debugging Code
OWASP Top 10
A01:2025 Broken Access Control, A06:2025 Insecure Design, A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-40173 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-40173?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-40173?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-40173 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
dgraph:dgraphbefore 25.3.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-95mq-xwj4-r47pGogithub.com/dgraph-io/dgraph/v25<25.3.225.3.2
GHSA-95mq-xwj4-r47pGogithub.com/dgraph-io/dgraph/v24<=24.1.7no fix published
GHSA-95mq-xwj4-r47pGogithub.com/dgraph-io/dgraph<=1.2.8no fix published
GO-2026-5274Gogithub.com/dgraph-io/dgraphall versionsno fix published
GO-2026-5274Gogithub.com/dgraph-io/dgraph/v25<25.3.225.3.2
GO-2026-5274Gogithub.com/hypermodeinc/dgraph/v24<24.1.924.1.9

Linux distributions

DistributionReleasePackageFixed inAdvisory
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0govulncheck-vulndb0.0.20260827T195228-160000.1.1SUSE-SU-2026:23625-1
openSUSELeap 16.0govulncheck-vulndb0.0.20260827T195228-160000.1.1openSUSE-SU-2026:21761-1

From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: SUSE · openSUSE.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-522 (13), CWE-200 (59).

References

Check your stackJSON