SCA: security update for github.com/dgraph-io/dgraph/v25 (GHSA-q2m9-6jp9-c6mc)

high Tenable Self-Hosted Container Security Plugin ID 444116

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2026-44840)

Solution

Update the github.com/dgraph-io/dgraph/v25 library and its related packages to version 25.3.4 or later.

See Also

https://github.com/advisories/GHSA-q2m9-6jp9-c6mc

Plugin Details

Severity: High

ID: 444116

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 6/30/2026

Updated: 7/9/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.72

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N

CVSS Score Source: CVE-2026-44840

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/29/2026

Vulnerability Publication Date: 6/29/2026

Reference Information

CVE: CVE-2026-44840

cwe: CWE-943