GO-2026-5837

DQL injection via checkUserPassword GraphQL query in github.com/dgraph-io/dgraph

En bref

Publiée
Mise à jour
CVE
CVE-2026-44840
Alias
GHSA-q2m9-6jp9-c6mc

Description

The checkUserPassword GraphQL query in Dgraph is vulnerable to Dgraph Query Language (DQL) injection. User-supplied password values are interpolated directly into a DQL checkpwd query without 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.

Paquets affectés

PaquetVersions
Go · github.com/dgraph-io/dgraphintroduced 0
Go · github.com/hypermodeinc/dgraph/v24introduced 0
Go · github.com/dgraph-io/dgraph/v25introduced 0, fixed 25.3.4

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database