github.com/dgraph-io/dgraph
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: CVE-2026-41328, GHSA-x92x-px7w-4gx4
DQL injection via unsanitized NQuad Lang field in github.com/dgraph-io/dgraph
A vulnerability in Dgraph allows an unauthenticated attacker full read access to data in the database when ACL is not enabled.
The injection exploits the addQueryIfUnique function, which constructs DQL queries using fmt.Sprintf with an unsanitized predicate name that includes the raw Lang value from a JSON mutation key. An attacker can escape the function and inject arbitrary named query blocks, which execute server-side and return results in the HTTP response.
Not rated by the source.
0 (semver)None listed
No fixed version is listed.
0, fixed 25.3.3 (semver)25.3.3
25.3.3go get github.com/dgraph-io/dgraph/[email protected]0, fixed 24.1.9 (semver)24.1.9
24.1.9go get github.com/hypermodeinc/dgraph/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: Go Vulnerability Database · CC BY 4.0