# CVE-2026-44840: Dgraph Vulnerable to DQL Injection via checkUserPassword GraphQL Query

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-29T22:53:52.000Z
- Modified: 2026-10-25T20:10:00.147Z
- Also known as: GHSA-q2m9-6jp9-c6mc, GO-2026-5837
- Weaknesses: CWE-943
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- dgraph-io dgraph: < 25.3.4
- github.com/dgraph-io/dgraph/v25 (Go): before 25.3.4
- github.com/dgraph-io/dgraph (Go): all versions
- github.com/hypermodeinc/dgraph/v24 (Go): all versions

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/dgraph-io/dgraph/security/advisories/GHSA-q2m9-6jp9-c6mc> (exploit, advisory, web)
- <https://github.com/dgraph-io/dgraph/commit/cee702c93f141eeb0c96a81f70830ec9e459efac> (fix, web)
- <https://github.com/dgraph-io/dgraph/releases/tag/v25.3.4> (web)
- <https://github.com/dgraph-io/dgraph> (package)

## Sources

- CVE List: [CVE-2026-44840](https://www.cve.org/CVERecord?id=CVE-2026-44840), CVE Terms of Use, modified 2026-07-09
- GitHub Advisory Database: [GHSA-q2m9-6jp9-c6mc](https://github.com/advisories/GHSA-q2m9-6jp9-c6mc), CC-BY-4.0, modified 2026-07-07
- Go Vulnerability Database: [GO-2026-5837](https://pkg.go.dev/vuln/GO-2026-5837), CC-BY-4.0, modified 2026-07-23
- NVD: [CVE-2026-44840](https://nvd.nist.gov/vuln/detail/CVE-2026-44840), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-44840 · Whole record: https://cve.day/CVE-2026-44840.json · Rebuilt by cve.day 2026-11-25T22:59:27.363Z
