CVE-2026-41327 json
Dgraph: Pre-Auth Full Database Exfiltration via DQL Injection in Upsert Condition Field
published 2026-04-24 6 mo ago modified 2026-09-10 1 mo ago also GHSA-mrxx-39g5-ph77 , GO-2026-5516 , EUVD-2026-25594
- cvss
- 9.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 42%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/dgraph-io/dgraph/v25 25.3.3
- go github.com/hypermodeinc/dgraph/v24 24.1.8
- dgraph dgraph 25.3.3
- govulncheck-vulndb SLES for SAP applications 16.0, SLES 16.0 0.0.20260827T195228-160000.1.1
suse advisories SUSE-SU-2026:23625-1
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260827T195228-160000.1.1
opensuse advisories openSUSE-SU-2026:21761-1
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 6 mo ago
Exploit prediction
0.49% chance of exploitation in the next 30 days, higher than 42% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/dgraph-io/dgraph/security/advisories/GHSA-mrxx-39g5-ph77 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/dgraph-io/dgraph/v25 | <25.3.3 |
25.3.3 |
| go | github.com/dgraph-io/dgraph/v24 | <=24.1.8 |
no fix listed |
| go | github.com/dgraph-io/dgraph | <=1.2.8 all versions |
no fix listed |
| go | github.com/hypermodeinc/dgraph/v24 | <24.1.8 |
24.1.8 |
Affected products
- dgraph-io dgraph
Classification
- Weakness
-
- CWE-943 Improper Neutralization of Special Elements in Data Query Logic
References
-
github.com
/dgraph-io/dgraph/security/advisories/GHSA-mrxx-39g5-ph77
exploit, web, mitigation, vendor-advisory, advisory
-
github.com
/dgraph-io/dgraph/releases/tag/v25.3.3
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-41327
advisory
-
github.com
/dgraph-io/dgraph
package
Sources
- CVE List CVE-2026-41327
- GitHub Advisory GHSA-mrxx-39g5-ph77
- NVD CVE-2026-41327
- OSV GO-2026-5516
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.