{"schemaVersion":3,"id":"CVE-2026-44840","aliases":["GHSA-q2m9-6jp9-c6mc","GO-2026-5837"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-07-08T13:27:44.178Z","modified":"2026-07-09T13:29:15.314Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","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","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","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","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00492,"percentile":0.4127,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00492},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00492,"percentile":0.4127}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00492,"percentile":0.4127}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-943","name":"Improper Neutralization of Special Elements in Data Query Logic","description":"The product generates a query intended to access or manipulate data in a data store such as a database, but it does not neutralize or incorrectly neutralizes special elements that can modify the intended logic of the query.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/943.html"}],"affected":[{"vendor":"dgraph-io","product":"dgraph","name":"dgraph","label":"dgraph","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 25.3.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 25.3.4","eol":null,"hubHref":"/vendor/dgraph-io/dgraph"},{"vendor":"github.com/dgraph-io","product":"dgraph","name":"github.com/dgraph-io/dgraph","label":"dgraph","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/dgraph-io/dgraph","purlType":"golang","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"github.com/dgraph-io/dgraph","product":"v25","name":"github.com/dgraph-io/dgraph/v25","label":"v25","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/dgraph-io/dgraph/v25","purlType":"golang","versions":[{"text":"< 25.3.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 25.3.4","eol":null,"hubHref":null},{"vendor":"github.com/hypermodeinc/dgraph","product":"v24","name":"github.com/hypermodeinc/dgraph/v24","label":"v24","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/hypermodeinc/dgraph/v24","purlType":"golang","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/dgraph-io/dgraph/security/advisories/GHSA-q2m9-6jp9-c6mc","label":"github.com/dgraph-io/dgraph/security/advisories/GHSA-q2m9-6jp9-c6mc","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory"]},{"url":"https://github.com/dgraph-io/dgraph/commit/cee702c93f141eeb0c96a81f70830ec9e459efac","label":"github.com/dgraph-io/dgraph/commit/cee702c93f141eeb0c96a81f70830ec9e459efac","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX"]},{"url":"https://github.com/dgraph-io/dgraph/releases/tag/v25.3.4","label":"github.com/dgraph-io/dgraph/releases/tag/v25.3.4","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/dgraph-io/dgraph","label":"github.com/dgraph-io/dgraph","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:21483-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:21483-1"]},"timeline":[{"kind":"published","date":"2026-07-08T13:27:44.178Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-09T13:29:15.314Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T11:58:39.399Z","stale":false,"partial":false}}