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.
- CVSS 3.1
- 10.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H - EPSS
- 2.1% chance of exploitation in the next 30 days; higher than 81% of CVEs (scores of 2026-10-25)
- CWE
- CWE-862
- Published
- Modified
- Record from
- the NVD, synced
Affected
- dgraph:dgraph
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-p5rh-vmhp-gvcw | Go | github.com/dgraph-io/dgraph/v25 | <25.3.1 | 25.3.1 |
| GHSA-p5rh-vmhp-gvcw | Go | github.com/dgraph-io/dgraph/v24 | <=24.0.5 | no fix published |
| GHSA-p5rh-vmhp-gvcw | Go | github.com/dgraph-io/dgraph | <=1.2.8 | no fix published |
| GO-2026-5529 | Go | github.com/dgraph-io/dgraph | all versions | no fix published |
| GO-2026-5529 | Go | github.com/dgraph-io/dgraph/v25 | <25.3.1 | 25.3.1 |
| GO-2026-5529 | Go | github.com/hypermodeinc/dgraph/v24 | >=24.0.0 <24.1.6 | 24.1.6 |