{"cve":"CVE-2026-44840","nvd":{"published":"2026-07-08T14:16:59.493","modified":"2026-10-25T20:10:00.147","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"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},"cwes":["CWE-943"],"references":["https://github.com/dgraph-io/dgraph/commit/cee702c93f141eeb0c96a81f70830ec9e459efac","https://github.com/dgraph-io/dgraph/releases/tag/v25.3.4","https://github.com/dgraph-io/dgraph/security/advisories/GHSA-q2m9-6jp9-c6mc","https://github.com/dgraph-io/dgraph/security/advisories/GHSA-q2m9-6jp9-c6mc"],"products":[],"source":"nvd","synced_at":"2026-10-25T23:44:34.550481224+00:00"},"epss":{"cve":"CVE-2026-44840","score":0.00492,"percentile":0.41962,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-q2m9-6jp9-c6mc","url":"https://osv.dev/vulnerability/GHSA-q2m9-6jp9-c6mc","summary":"Dgraph Vulnerable to DQL Injection via checkUserPassword GraphQL Query","modified":"2026-07-07T16:11:05.575880212Z","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"]}]},{"id":"GO-2026-5837","url":"https://osv.dev/vulnerability/GO-2026-5837","summary":"DQL injection via checkUserPassword GraphQL query in github.com/dgraph-io/dgraph","modified":"2026-07-23T17:45:22.622665040Z","packages":[{"ecosystem":"Go","name":"github.com/dgraph-io/dgraph","purl":"pkg:golang/github.com/dgraph-io/dgraph","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/hypermodeinc/dgraph/v24","purl":"pkg:golang/github.com/hypermodeinc/dgraph/v24","ranges":["all versions"],"fixed":[]},{"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"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}