{"id":"CVE-2026-44840","aliases":["GHSA-q2m9-6jp9-c6mc","GO-2026-5837"],"url":"https://o3.security/vulnerability/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.","published":"2026-07-08T13:27:44.178Z","modified":"2026-08-12T03:51:47.047814626Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},"epss":{"score":0.00368,"percentile":0.30163,"asOf":"2026-08-22"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/dgraph-io/dgraph/v25","fixedVersion":"25.3.4"}],"fix":{"url":"https://github.com/dgraph-io/dgraph/commit/cee702c93f141eeb0c96a81f70830ec9e459efac","label":"dgraph-io/dgraph@cee702c"},"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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:47.047814626Z"}}