{"id":"CVE-2026-44840","summary":"Dgraph Vulnerable to DQL Injection via checkUserPassword GraphQL Query","details":"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.","aliases":["GHSA-q2m9-6jp9-c6mc","GO-2026-5837"],"modified":"2026-07-15T01:49:03.478014819Z","published":"2026-07-08T13:27:44.178Z","database_specific":{"cwe_ids":["CWE-943"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44840.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/dgraph-io/dgraph/releases/tag/v25.3.4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44840.json"},{"type":"ADVISORY","url":"https://github.com/dgraph-io/dgraph/security/advisories/GHSA-q2m9-6jp9-c6mc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44840"},{"type":"FIX","url":"https://github.com/dgraph-io/dgraph/commit/cee702c93f141eeb0c96a81f70830ec9e459efac"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/dgraph-io/dgraph","events":[{"introduced":"0"},{"fixed":"cee702c93f141eeb0c96a81f70830ec9e459efac"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"25.3.4"}]}}],"versions":["v25.3.3","v25.3.2","v25.3.1","v25.3.0","v25.2.0","v25.1.0","v25.1.0-preview1","v25.0.0","v25.0.0-preview6","v25.0.0-preview5","v25.0.0-preview4","v25.0.0-preview3","v25.0.0-preview2","v25.0.0-preview1","v24.0.2","v24.0.2-rc1","v24.0.1","v24.0.0","v24.0.0-rc1","v23.1.0","v24.0.0-alpha3","v24.0.0-alpha2","v24.0.0-alpha","v23.1.0-rc1","v23.1.0-rc2","v23.0.1","v22.0.2","v23.0.0","v23.0.0-rc1","v23.0.0-beta1","v22.0.0","v22.0.0-RC1-20221003","v21.03.2","v21.03.1","v21.03.0","v20.11.0-rc1","release/v20.11-rc1","v1.0.8","v1.0.9","v2.0.0-rc1","v2.0.0-beta1","v1.2.0-rc1","v1.1.1","v1.1.1-rc2","v1.1.1-rc1","v1.1.0","v1.1.0-rc3","v1.1.0-rc2","v1.0.12-rc3","v1.0.12-rc2","v1.0.12-rc1","v1.0.11","v1.0.11-rc4","v1.0.11-rc3","v1.0.11-rc2","v1.0.10","v1.0.11-rc1","v1.0.10-rc1","v1.0.9-rc5","v1.0.9-rc4","v1.0.9-rc3","v1.0.9-rc2","v1.0.9-rc1","v1.0.8-rc2","v1.0.8-rc1","v1.0.7a","v1.0.7","v1.0.7-rc4","v1.0.7-rc3","v1.0.7-rc2","nightly","v1.0.5","v1.0.4","v1.0.3","v1.0.2","v1.0.1","v1.0.0","v0.9.4","v0.9.0","v0.8.3","v0.8.1","v0.8.0","v0.4.2","v0.4.1","v0.4.0","v0.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-44840.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}