Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/dgraph-io/dgraph/commit/cee702c93f141eeb0c96a81f70830ec9e459e
- https://github.com/dgraph-io/dgraph/releases/tag/v25.3.4
- https://github.com/dgraph-io/dgraph/security/advisories/GHSA-q2m9-6jp9-c6mc
- https://github.com/dgraph-io/dgraph/security/advisories/GHSA-q2m9-6jp9-c6mc
FAQ
What is CVE-2026-44840?
CVE-2026-44840 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 pa...
How severe is CVE-2026-44840?
CVE-2026-44840 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-44840?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.