SCA: security update for github.com/dgraph-io/dgraph/v25 (GHSA-95mq-xwj4-r47p)

critical Tenable Self-Hosted Container Security Plugin ID 440920

Description

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

- Dgraph is an open source distributed GraphQL database. Versions 25.3.1 and prior contain an
unauthenticated credential disclosure vulnerability where the /debug/pprof/cmdline endpoint is registered
on the default mux and reachable without authentication, exposing the full process command line including
the admin token configured via the --security "token=..." startup flag. An attacker can retrieve the
leaked token and reuse it in the X-Dgraph-AuthToken header to gain unauthorized access to admin-only
endpoints such as /admin/config/cache_mb, bypassing the adminAuthHandler token validation. This enables
unauthorized privileged administrative access including configuration changes and operational control
actions in any deployment where the Alpha HTTP port is reachable by untrusted parties. This issue has been
fixed in version 25.3.2. (CVE-2026-40173)

Solution

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

See Also

https://github.com/advisories/GHSA-95mq-xwj4-r47p

Plugin Details

Severity: Critical

ID: 440920

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 4/27/2026

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.5

Percentile: 57.44

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: High

Base Score: 9.7

Temporal Score: 7.6

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

CVSS Score Source: CVE-2026-40173

CVSS v3

Risk Factor: Critical

Base Score: 9.4

Temporal Score: 8.4

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/16/2026

Vulnerability Publication Date: 4/15/2026

Reference Information

CVE: CVE-2026-40173