GO-2026-5529

Unauthenticated restoreTenant mutation allows database overwrite and SSRF in github.com/dgraph-io/dgraph

En bref

Publiée
Mise à jour
CVE
CVE-2026-34976
Alias
GHSA-p5rh-vmhp-gvcw

Description

The restoreTenant GraphQL mutation in Dgraph was missing from the admin mutation middleware configuration. This omission bypassed all authentication, IP whitelisting, and audit logging for this mutation. An unauthenticated remote attacker could use this mutation to trigger a database restore from an arbitrary URL, potentially leading to a complete database overwrite, Server-Side Request Forgery (SSRF), or arbitrary file read on the host system.

Paquets affectés

PaquetVersions
Go · github.com/dgraph-io/dgraphintroduced 0
Go · github.com/dgraph-io/dgraph/v25introduced 0, fixed 25.3.1
Go · github.com/hypermodeinc/dgraph/v24introduced 24.0.0, fixed 24.1.6

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database