Back to overview

CVE-2026-44840

HIGH
7.5
CVSS 3.1
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.

Metadata

CVE ID
CVE-2026-44840
State
PUBLISHED
Assigner
GitHub_M
Reserved
2026-05-07 21:21 UTC
Published
2026-07-08 13:27 UTC
Last updated
2026-07-08 13:27 UTC
Primary CWE
CWE-943
CWE-943: Improper Neutralization of Special Elements in Data…
Vendor / Product
dgraph-io / dgraph
Sources
cve.org  ·  NVD

Severity & Metrics

7.5 HIGH CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Affected products (1)
VendorProductPlatformVersions
dgraph-io dgraph < 25.3.4
Weakness (CWE)
CWESourceDescription
CWE-943 cna CWE-943: Improper Neutralization of Special Elements in Data Query Logic
CVSS scores (1)
ScoreSeverityVersionSourceVector
7.5 HIGH 3.1 cna CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References (3)
Back to overview