CVE-2026-34976
CRITICAL 10.0CVSS 3.1Dgraph: Pre-Auth Database Overwrite + SSRF + File Read via restoreTenant Missing Authorization
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.
- Published
- 6 Apr 2026
- Last modified
- 24 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-862
- Also known as
- GHSA-p5rh-vmhp-gvcwGO-2026-5529
- Sources
- NVDJSONOSV GHSA-p5rh-vmhp-gvcwJSONOSV GO-2026-5529JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | dgraph | dgraphcpe:2.3:a:dgraph:dgraph:*:*:*:*:*:go:*:* |
<= 25.3.0 | |
| OSV | Go | github.com/dgraph-io/dgraph/v25 | < 25.3.1 | 25.3.1 |
| OSV | Go | github.com/dgraph-io/dgraph/v24 | <= 24.0.5 | |
| OSV | Go | github.com/dgraph-io/dgraph | <= 1.2.8 | |
| OSV | Go | github.com/dgraph-io/dgraph | all versions | |
| OSV | Go | github.com/hypermodeinc/dgraph/v24 | >= 24.0.0, < 24.1.6 | 24.1.6 |
References
- https://github.com/dgraph-io/dgraph/security/advisories/GHSA-p5rh-vmhp-gvcw · Exploit, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-34976 · ADVISORY
- https://github.com/dgraph-io/dgraph/commit/b15c87e9353e36618bf8e0df3bd945c0ce7105ef · WEB, FIX
- https://github.com/dgraph-io/dgraph · PACKAGE
- https://github.com/dgraph-io/dgraph/releases/tag/v25.3.1 · WEB
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 6 Apr 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 11 Aug 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 2 Apr 2026)