CVE-2026-41328: dgraph-io dgraph
Vulnerability summary
CVE-2026-41328 is a critical (CVSS 9.1) vulnerability in dgraph-io dgraph. EPSS estimates a 0.48% chance of exploitation in the next 30 days, higher than 40.3% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 1 · Related 2Timeline
- 24-04-2026PublishedVulnerability first disclosed.
- 24-04-2026Last modifiedVulnerability information updated.
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 requires two HTTP POSTs to port 8080. The first sets up a schema predicate with @unique @index(exact) @lang via /alter (also unauthenticated in default config). The second sends a crafted JSON mutation to /mutate?commitNow=true where a JSON key contains the predicate name followed by @ and a DQL injection payload in the language tag position. The injection exploits the addQueryIfUnique function in edgraph/server.go, which constructs DQL queries using fmt.Sprintf with unsanitized predicateName that includes the raw pred.Lang value. The Lang field is extracted from JSON mutation keys by x.PredicateLang(), which splits on @, and is never validated by any function in the codebase. The attacker injects a closing parenthesis to escape the eq() function, adds an arbitrary named query block, and uses a # comment to neutralize trailing template syntax. The injected query executes server-side and its results are returned in the HTTP response. This vulnerability is fixed in 25.3.3.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · WolfiEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- OSV · GoEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- OSV · ChainguardEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- NVDNIST9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS trend
Probability
0.48%
Chance of exploitation in the next 30 days
Percentile
40%
Versus all other CVEs
30-day change
+0.06 pp
From 0.41% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundDgraph
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Github.com/dgraph-io/dgraph2 products
- v24≤ 24.1.8
- v25< 25.3.3
Chainguard1 product
- dgraph< 25.3.3-r0
Dgraph1 product
- dgraph< 25.3.3
Dgraph-io1 product
- dgraph< 25.3.3
Github.com/dgraph-io1 product
- dgraph≤ 1.2.8 | All versions (No fix recorded)
Github.com/hypermodeinc/dgraph1 product
- v24< 24.1.9
Wolfi1 product
- dgraph< 25.3.3-r0
7 vendors · 8 products
References
4 links- github.com/dgraph-io/dgraph/security/advisories/GHSA-x92x-px7w-4gx4X Refsource CONFIRMAdvisoryWEBExploitMitigationVendor Advisory
- github.com/dgraph-io/dgraphPACKAGE