CVE-2026-44840dgraph-io dgraph
High 7.5 No auth needed
Follow: this CVE · dgraph-io · dgraph-io dgraph We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Jul 8, 2026
- Updated
- Oct 25, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-943
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for dgraph.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/dgraph-io/dgraph |
all |
no fixed version | — |
| Go | github.com/dgraph-io/dgraph/v25 |
< 25.3.4 |
25.3.4 |
go get github.com/dgraph-io/dgraph/v25@v25.3.4 |
| Go | github.com/dgraph-io/dgraph/v25 |
< 25.3.4 |
25.3.4 |
go get github.com/dgraph-io/dgraph/v25@v25.3.4 |
| Go | github.com/hypermodeinc/dgraph/v24 |
all |
no fixed version | — |
Per OSV / GitHub Advisories (GO-2026-5837, GHSA-q2m9-6jp9-c6mc). Check the version in your lockfile before upgrading.
Affected products
- dgraph-io · dgraph
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.