Vulnerability in Dgraph-Io Dgraph
CVE-2026-44840
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.
EPSS: 0.004 (30.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
Affected products
- Dgraph-io Dgraph — versions < 25.3.4
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC)
- security-advisories@github.com (x_refsource_CONFIRM)
Frequently asked questions
- What is CVE-2026-44840?
- CVE-2026-44840 is a high-severity vulnerability in Dgraph-Io Dgraph, classified under Improper Neutralization of Special Elements in Data Query Logic. CVSS score: 7.5/10. Published 2026-07-08.
- How severe is CVE-2026-44840?
- High severity. CVSS v3 base score is 7.5 out of 10.