SCA: security update for github.com/dgraph-io/dgraph/v25 (GHSA-p5rh-vmhp-gvcw)

critical Tenable Cloud Security Plugin ID 439696

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 25.3.1, the restoreTenant admin mutation
is missing from the authorization middleware config (admin.go), making it completely unauthenticated.
Unlike the similar restore mutation which requires Guardian-of-Galaxy authentication, restoreTenant
executes with zero middleware. This mutation accepts attacker-controlled backup source URLs (including
file:// for local filesystem access), S3/MinIO credentials, encryption key file paths, and Vault
credential file paths. An unauthenticated attacker can overwrite the entire database, read server-side
files, and perform SSRF. This vulnerability is fixed in 25.3.1. (CVE-2026-34976)

Solution

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

See Also

https://github.com/advisories/GHSA-p5rh-vmhp-gvcw

Plugin Details

Severity: Critical

ID: 439696

Version: Revision 1.9

Type: Local

Family: SCA Checks

Published: 4/3/2026

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: High

Score: 7

Percentile: 98.3

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

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

CVSS Score Source: CVE-2026-34976

CVSS v3

Risk Factor: Critical

Base Score: 10

Temporal Score: 9

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

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/2/2026

Vulnerability Publication Date: 4/2/2026

Reference Information

CVE: CVE-2026-34976

cwe: CWE-862