CVE-2026-34976

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:dgraph:dgraph:*:*:*:*:*:go:*:*

History

22 Apr 2026, 19:51

Type Values Removed Values Added
References () https://github.com/dgraph-io/dgraph/security/advisories/GHSA-p5rh-vmhp-gvcw - () https://github.com/dgraph-io/dgraph/security/advisories/GHSA-p5rh-vmhp-gvcw - Exploit, Vendor Advisory
First Time Dgraph
Dgraph dgraph
CPE cpe:2.3:a:dgraph:dgraph:*:*:*:*:*:go:*:*

07 Apr 2026, 17:16

Type Values Removed Values Added
References () https://github.com/dgraph-io/dgraph/security/advisories/GHSA-p5rh-vmhp-gvcw - () https://github.com/dgraph-io/dgraph/security/advisories/GHSA-p5rh-vmhp-gvcw -

06 Apr 2026, 17:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-06 17:17

Updated : 2026-04-22 19:51


NVD link : CVE-2026-34976

Mitre link : CVE-2026-34976

CVE.ORG link : CVE-2026-34976


JSON object : View

Products Affected

dgraph

  • dgraph
CWE
CWE-862

Missing Authorization