Vulnerability in Dgraph
CVE-2026-41327
Dgraph is an open source distributed GraphQL database. Prior to 25.3.3, a vulnerability has been found in Dgraph that gives an unauthenticated attacker full read access to every piece of data in the database. This affects Dgraph's default configuration where ACL is not enabled. The attack is a single HTTP POST to /mutate?commitNow=true containing a crafted cond field in an upsert mutation. The cond value is concatenated directly into a DQL query string via strings.Builder.WriteString after only a cosmetic strings.Replace transformation. No escaping, parameterization, or structural validation is applied. An attacker injects an additional DQL query block into the cond string, which the DQL parser accepts as a syntactically valid named query block. The injected query executes server-side and its results are returned in the HTTP response. This vulnerability is fixed in 25.3.3.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS: 0.005 (39.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 40th percentile — 39.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: -0.000
Affected products
- Dgraph
- Dgraph-Io Dgraph — versions < 25.3.3
Weakness classification (CWE)
References
- github.com/dgraph-io/dgraph/security/advisories/GHSA-mrxx-39g5-ph77 (Exploit, Mitigation, Vendor Advisory)
- github.com/dgraph-io/dgraph/releases/tag/v25.3.3 (Release Notes)
Frequently asked questions
- What is CVE-2026-41327?
- CVE-2026-41327 is a critical-severity vulnerability in Dgraph, classified under Improper Neutralization of Special Elements in Data Query Logic. CVSS score: 9.1/10. Published 2026-04-24.
- How severe is CVE-2026-41327?
- Critical severity. CVSS v3 base score is 9.1 out of 10.