CVE-2026-41327
Description
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.
Weakness
- CWE-943: Improper Neutralization of Special Elements in Data Query Logic
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | yes |
| Technical impact | partial |
| Scored | 2026-04-24 |
Timeline
- 2026-04-24Published by the CNA18:27 UTC
- 2026-04-24GitHub advisory published (GHSA-mrxx-39g5-ph77)same day
- 2026-04-24CISA SSVC decision recordedsame day
Exploit and advisory records
GitHub advisory GHSA-mrxx-39g5-ph77, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Go github.com/dgraph-io/dgraph | through 1.2.8 | |
| Go github.com/dgraph-io/dgraph/v24 | through 24.1.8 | |
| Go github.com/dgraph-io/dgraph/v25 | before 25.3.3 | 25.3.3 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| dgraph dgraph | before 25.3.3fixed in 25.3.3 | 25.3.3 |
References
- https://github.com/dgraph-io/dgraph/security/advisories/GHSA-mrxx-39g5-ph77
- https://github.com/dgraph-io/dgraph/releases/tag/v25.3.3
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-41327'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-41327'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-41327'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-41327'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).