{"id":"CVE-2026-44840","revision":"ced580e44bea4c0793fbacb4d0d0bc00","records":[{"revision":"ced580e44bea4c0793fbacb4d0d0bc00","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-44840","aliases":[],"title":"Dgraph Vulnerable to DQL Injection via checkUserPassword GraphQL Query","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.","state":0,"publishedAt":"2026-07-08T13:27:44.178+00:00","modifiedAt":"2026-07-09T13:29:15.314+00:00","affected":[{"ecosystem":"Vendor product","name":"dgraph","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"dgraph-io\",\n                    \"product\": \"dgraph\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 25.3.4\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"severity":"HIGH"}],"references":["https://github.com/dgraph-io/dgraph/security/advisories/GHSA-q2m9-6jp9-c6mc","https://github.com/dgraph-io/dgraph/commit/cee702c93f141eeb0c96a81f70830ec9e459efac","https://github.com/dgraph-io/dgraph/releases/tag/v25.3.4"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-44840","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-44840","identifiers":["CVE-2026-44840"]},"retained":false,"historicalAffected":[]}],"coverage":[]}