CVE-2026-34976
Dgraph Affected by Pre-Auth Database Overwrite + SSRF + File Read via restoreTenant Missing Authorization
Record summary
CVE-2026-34976 has a selected CVSS score of 10.0 (critical); EIP currently links 1 Nuclei template.
Description
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.
Exploitation context
Available material
- Nuclei templates
- 1
CISA SSVC decision
CISA Coordinator · SSVC 2.0.3 · Evaluated Apr 7, 2026 · Source: CVE List
Affected products and versions
4| Product | Source | Version range | Status |
|---|---|---|---|
| CVE List | < 25.3.1 | affected | |
github.com/dgraph-io/dgraphBrowse Go / github.com/dgraph-io/dgraph | GitHub Advisory | Through 1.2.8 | affected |
github.com/dgraph-io/dgraph/v24Browse Go / github.com/dgraph-io/dgraph/v24 | GitHub Advisory | Through 24.0.5 | affected |
github.com/dgraph-io/dgraph/v25Browse Go / github.com/dgraph-io/dgraph/v25 | GitHub Advisory | Before 25.3.1 · Fixed in 25.3.1 | affected |
Nuclei templates
1ProjectDiscoveryCRITICALDgraph <=v25.3.0 - Admin Mutation Missing AuthorizationCVSS 10
Dgraph <=v25.3.0 contains an authentication bypass caused by missing authorization middleware for the restoreTenant admin mutation, letting unauthenticated attackers overwrite the database, read files, and perform SSRF, exploit requires no authentication.
Impact
Unauthenticated attackers can overwrite the database, read server files, and perform SSRF, leading to full data compromise and server access.
Remediation
Update to version 25.3.1 or later.
Source: ProjectDiscovery