CVE-2026-44840
Published:July 08, 2026
Updated:July 21, 2026
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.
Affected Packages
https://github.com/dgraph-io/dgraph.git (GITHUB):
Affected version(s) >=v0.3 <v25.3.4Fix Suggestion:
Update to version v25.3.4github.com/dgraph-io/dgraph/v25 (GO):
Affected version(s) >=v25.0.0 <v25.3.4Fix Suggestion:
Update to version v25.3.4github.com/dgraph-io/dgraph (GO):
Affected version(s) >=v0.0.0-20200331002831-147c8df9d889 <v25.3.4Fix Suggestion:
Update to version v25.3.4Related Resources (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Special Elements in Data Query Logic
EPSS
Base Score:
0.48