Dgraph
Dgraph: Pre-Auth Full Database Exfiltration via DQL Injection in Upsert Condition Field
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 25.3.3
Fixed in 25.3.3
Mitigation
Upgrade dgraph to 25.3.3 or later.
References
- Vendor advisory github.com/dgraph-io/dgraph/security/advisorie…
- Release notes github.com/dgraph-io/dgraph/releases/tag/v25.3…
Timeline
Days relative to CVE publicationFirst public PoC 214 days after publication; not in CISA KEV. First PoC: nuclei template: Dgraph < 25.3.3 / < 24.1.8 - DQL Injection (nuclei template, 24 Nov 2026).
PoC repositories
Found on GitHub.No PoC repositories found yet.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: Dgraph < 25.3.3 / < 24.1.8 - DQL Injection | 24 Nov 2026 | 24 Nov 2026 |