PT-2026-76026 · Go · Github.Com/Dgraph-Io/Dgraph+2

Published

2026-08-11

·

Updated

2026-08-11

None

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
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.
Found an issue in the description? Have something to add? Feel free to write us 👾

Related Identifiers

GO-2026-5516

Affected Products

Github.Com/Dgraph-Io/Dgraph
Github.Com/Dgraph-Io/Dgraph/V25
Github.Com/Hypermodeinc/Dgraph/V24