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-41327, GHSA-mrxx-39g5-ph77
Pre-Auth DQL injection in upsert condition field in github.com/dgraph-io/dgraph
A DQL injection vulnerability in Dgraph allows an unauthenticated remote attacker to exfiltrate data from the database.
The injection occurs via the "cond" field in upsert mutations. The buildUpsertQuery function fails to properly validate the condition string, allowing an attacker to craft a payload that closes the intended @if clause and appends arbitrary DQL query blocks. These injected blocks execute with the privileges of the Dgraph process, potentially leading to full database exfiltration.
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.8 (semver)24.1.8
24.1.8go 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