Dgraph Vulnerable to DQL Injection via checkUserPassword GraphQL Query
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| dgraph-io | dgraph | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Dgraph | Dgraph |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-q2m9-6jp9-c6mc | Dgraph Vulnerable to DQL Injection via checkUserPassword GraphQL Query |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.527% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Dgraph
Dgraph dgraph |
|
| Vendors & Products |
Dgraph
Dgraph dgraph |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Dgraph Vulnerable to DQL Injection via checkUserPassword GraphQL Query | |
| Weaknesses | CWE-943 | |
| References |
| |
| Metrics |
cvssV3_1
|