CVE-2026-44840 Dgraph Vulnerable to DQL Injection via checkUserPassword GraphQL Query
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
Description
Dgraph is an open source distributed GraphQL database. Prior to version 25.3.4, the checkUserPassword GraphQL query in Dgraph is vulnerable to DQL (Dgraph Query Language) injection. User-supplied password values are interpolated directly into a DQL checkpwd() query via fmt.Sprintf without any escaping or parameterization. An attacker can inject a password containing a double-quote character to break out of the DQL string literal and append arbitrary DQL query blocks. Version 25.3.4 patches the issue.
Upgrade path
3 packages: 0 fixed, 1 partially fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| hypermodeinc github.com/hypermodeinc/dgraph/v24(Go) | All versions | No fix listed | No fix yet |
| dgraph-io dgraph(Go) | < 25.3.4; <= 25.3.3; All versions | 25.3.4 | Partially fixed |
| dgraph-io dgraph | = < 25.3.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| dgraph-io dgraph(Go) | < 25.3.4 | 25.3.4 |
| dgraph-io dgraph(Go) | All versions | No fix listed |
| hypermodeinc github.com/hypermodeinc/dgraph/v24(Go) | All versions | No fix listed |
| dgraph-io dgraph | = < 25.3.4 | No fix listed |
| dgraph-io dgraph(Go) | <= 25.3.3 | No fix listed |