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.
References
Configurations
No configuration.
History
09 Jul 2026, 15:16
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/dgraph-io/dgraph/security/advisories/GHSA-q2m9-6jp9-c6mc - |
08 Jul 2026, 14:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-07-08 14:16
Updated : 2026-07-09 15:16
NVD link : CVE-2026-44840
Mitre link : CVE-2026-44840
CVE.ORG link : CVE-2026-44840
JSON object : View
Products Affected
No product.
CWE
CWE-943
Improper Neutralization of Special Elements in Data Query Logic
