{"id":"CVE-2026-44840","published":"2026-07-08T13:27:44Z","modified":"2026-07-09T13:29:15Z","title":"Dgraph Vulnerable to DQL Injection via checkUserPassword GraphQL Query","vendor":"dgraph-io","product":"dgraph","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00527,"percentile":0.4552,"provenance":"source"},"cwes":[{"id":"CWE-943","name":"Improper Neutralization of Special Elements in Data Query Logic"}],"references":[{"url":"https://github.com/dgraph-io/dgraph/security/advisories/GHSA-q2m9-6jp9-c6mc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/dgraph-io/dgraph/commit/cee702c93f141eeb0c96a81f70830ec9e459efac","tags":["x_refsource_MISC"]},{"url":"https://github.com/dgraph-io/dgraph/releases/tag/v25.3.4","tags":["x_refsource_MISC"]}],"priority":{"score":14.4,"factors":[{"name":"EPSS percentile","points":9.1},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"dgraph-io","affectedVersions":[{"vendor":"dgraph-io","product":"dgraph","versions":["< 25.3.4"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-09T13:28:28.118081Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/dgraph-io/dgraph/v25","vulnerableRanges":["<25.3.4"],"patched":["25.3.4"],"from":["GHSA-q2m9-6jp9-c6mc","GO-2026-5837"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/dgraph-io/dgraph","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-5837"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/hypermodeinc/dgraph/v24","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-5837"],"provenance":"source"}],"summary":{"text":"The flaw is a DQL injection in the checkUserPassword GraphQL query of Dgraph, an open source distributed GraphQL database, where user-supplied password values are interpolated unescaped into a DQL checkpwd() query via fmt.Sprintf. An unauthenticated remote attacker who can reach the query can supply a password containing a double-quote to break out of the DQL string literal and append arbitrary query blocks, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:38:29Z"},"euvd":{"id":"EUVD-2026-42237","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-41327","published":"2026-04-24","fixed":"25.3.3","kev":false,"link":{"from":"CVE-2026-41327","to":"CVE-2026-44840","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/dgraph-io/dgraph/v25","fromFixed":"25.3.3","toFixed":"25.3.4","daysApart":75}]}},{"cve":"CVE-2026-41328","published":"2026-04-24","fixed":"25.3.3","kev":false},{"cve":"CVE-2026-41492","published":"2026-04-24","fixed":"25.3.3","kev":false},{"cve":"CVE-2026-44840","published":"2026-07-08","fixed":"25.3.4","kev":false},{"cve":"CVE-2026-54061","published":"2026-07-08","fixed":"25.3.5","kev":false,"link":{"from":"CVE-2026-44840","to":"CVE-2026-54061","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/dgraph-io/dgraph/v25","fromFixed":"25.3.4","toFixed":"25.3.5","daysApart":0}]}},{"cve":"CVE-2026-102748","published":"2026-10-14","fixed":"25.4.0","kev":false}],"package":"Go:github.com/dgraph-io/dgraph/v25"}}