CVE-2026-44840 json
Dgraph Vulnerable to DQL Injection via checkUserPassword GraphQL Query
published 2026-06-29 4 mo ago modified 2026-10-25 14 d ago also GHSA-q2m9-6jp9-c6mc , GO-2026-5837 , EUVD-2026-42237
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 44%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/dgraph-io/dgraph/v25 25.3.4
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
opensuse advisories openSUSE-SU-2026:21483-1
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 4 mo ago
Exploit prediction
0.53% chance of exploitation in the next 30 days, higher than 44% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/dgraph-io/dgraph/security/advisories/GHSA-q2m9-6jp9-c6mc referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/dgraph-io/dgraph/v25 | <25.3.4 |
25.3.4 |
| go | github.com/dgraph-io/dgraph | all versions |
no fix listed |
| go | github.com/hypermodeinc/dgraph/v24 | all versions |
no fix listed |
Affected products
- dgraph-io dgraph
Classification
- Weakness
-
- CWE-943 Improper Neutralization of Special Elements in Data Query Logic
References
Sources
- CVE List CVE-2026-44840
- GitHub Advisory GHSA-q2m9-6jp9-c6mc
- NVD CVE-2026-44840
- OSV GO-2026-5837
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.