Advisory

GO-2026-5837

Also known as: CVE-2026-44840, GHSA-q2m9-6jp9-c6mc

Summary

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

Details

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.

Severity

Not rated by the source.

Dates

Published
2026-07-07 15:26 UTC
Modified
2026-07-23 17:45 UTC

Affected packages and fixes

github.com/dgraph-io/dgraph

Go · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

github.com/hypermodeinc/dgraph/v24

Go · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

github.com/dgraph-io/dgraph/v25

Go · All systems

Affected

  • introduced 0, fixed 25.3.4 (semver)

Fixed versions

25.3.4

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences