{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-44840","id":"CVE-2026-44840","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 ","descriptionLong":"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","updated":"2026-11-11T10:47:21.510447030Z","reserved":"2026-05-07T21:21:48.352Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["dgraph-io dgraph"],"affectedProducts":[{"vendor":"dgraph-io","product":"dgraph","defaultStatus":null,"versions":[{"version":"< 25.3.4","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/dgraph-io/dgraph/v25","purl":"pkg:golang/github.com/dgraph-io/dgraph/v25","ranges":["<25.3.4"],"fixed":["25.3.4"],"advisory":"GHSA-q2m9-6jp9-c6mc"},{"ecosystem":"Go","name":"github.com/dgraph-io/dgraph","purl":"pkg:golang/github.com/dgraph-io/dgraph","ranges":["all versions"],"fixed":[],"advisory":"GO-2026-5837"},{"ecosystem":"Go","name":"github.com/hypermodeinc/dgraph/v24","purl":"pkg:golang/github.com/hypermodeinc/dgraph/v24","ranges":["all versions"],"fixed":[],"advisory":"GO-2026-5837"}],"cwes":["CWE-943"],"aliases":["GHSA-q2m9-6jp9-c6mc","GO-2026-5837"],"references":[{"url":"https://github.com/dgraph-io/dgraph/security/advisories/GHSA-q2m9-6jp9-c6mc","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/dgraph-io/dgraph/commit/cee702c93f141eeb0c96a81f70830ec9e459efac","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/dgraph-io/dgraph/releases/tag/v25.3.4","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44840.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44840","tags":["advisory"]},{"url":"https://github.com/dgraph-io/dgraph","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.00527,"epssPercentile":0.45379,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-44840","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44840","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-44840","ok":true,"note":"3 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-q2m9-6jp9-c6mc","ok":true,"note":"GHSA-q2m9-6jp9-c6mc"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-44840","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}