CVEvulnerability
CVE-2026-44840
7.5 HIGH
Official page ↗
- Status
- Deferred
- Published
- 2026-07-08
- Last modified
- 2026-10-25
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-943
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.
Related
Weakness · CWE (1)
- CWE-943 Improper Neutralization of Special Elements in Data Query Logic weakness
References
- https://github.com/dgraph-io/dgraph/commit/cee702c93f141eeb0c96a81f70830ec9e459efac github.com
- https://github.com/dgraph-io/dgraph/releases/tag/v25.3.4 github.com
- https://github.com/dgraph-io/dgraph/security/advisories/GHSA-q2m9-6jp9-c6mc github.com
- https://github.com/dgraph-io/dgraph/security/advisories/GHSA-q2m9-6jp9-c6mc github.com