{"cve":"CVE-2026-41327","nvd":{"published":"2026-04-24T19:17:12.407","modified":"2026-06-17T10:46:30.937","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1},"cwes":["CWE-943"],"references":["https://github.com/dgraph-io/dgraph/releases/tag/v25.3.3","https://github.com/dgraph-io/dgraph/security/advisories/GHSA-mrxx-39g5-ph77","https://github.com/dgraph-io/dgraph/security/advisories/GHSA-mrxx-39g5-ph77"],"products":["dgraph:dgraph"],"source":"nvd","synced_at":"2026-10-19T22:33:09.003606135+00:00"},"epss":{"cve":"CVE-2026-41327","score":0.0049,"percentile":0.42159,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-mrxx-39g5-ph77","url":"https://osv.dev/vulnerability/GHSA-mrxx-39g5-ph77","summary":"Dgraph: Pre-Auth Full Database Exfiltration via DQL Injection in Upsert Condition Field","modified":"2026-09-10T03:50:44.692833178Z","packages":[{"ecosystem":"Go","name":"github.com/dgraph-io/dgraph/v25","purl":"pkg:golang/github.com/dgraph-io/dgraph/v25","ranges":["<25.3.3"],"fixed":["25.3.3"]},{"ecosystem":"Go","name":"github.com/dgraph-io/dgraph/v24","purl":"pkg:golang/github.com/dgraph-io/dgraph/v24","ranges":["<=24.1.8"],"fixed":[]},{"ecosystem":"Go","name":"github.com/dgraph-io/dgraph","purl":"pkg:golang/github.com/dgraph-io/dgraph","ranges":["<=1.2.8"],"fixed":[]}]},{"id":"GO-2026-5516","url":"https://osv.dev/vulnerability/GO-2026-5516","summary":"Pre-Auth DQL injection in upsert condition field in github.com/dgraph-io/dgraph","modified":"2026-08-11T20:45:07.509353546Z","packages":[{"ecosystem":"Go","name":"github.com/dgraph-io/dgraph","purl":"pkg:golang/github.com/dgraph-io/dgraph","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/dgraph-io/dgraph/v25","purl":"pkg:golang/github.com/dgraph-io/dgraph/v25","ranges":["<25.3.3"],"fixed":["25.3.3"]},{"ecosystem":"Go","name":"github.com/hypermodeinc/dgraph/v24","purl":"pkg:golang/github.com/hypermodeinc/dgraph/v24","ranges":["<24.1.8"],"fixed":["24.1.8"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}