CVE-2026-34976
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/dgraph-io/dgraph/v25Go | < 25.3.1 | 25.3.1 |
github.com/dgraph-io/dgraph/v24Go | <= 24.0.5 | — |
github.com/dgraph-io/dgraphGo | <= 1.2.8 | — |
Affected products
6- osv-coords5 versionspkg:apk/chainguard/dgraphpkg:apk/wolfi/dgraphpkg:golang/github.com/dgraph-io/dgraphpkg:golang/github.com/dgraph-io/dgraph/v24pkg:golang/github.com/dgraph-io/dgraph/v25
< 25.3.1-r0+ 4 more
- (no CPE)range: < 25.3.1-r0
- (no CPE)range: < 25.3.1-r0
- (no CPE)range: <= 1.2.8
- (no CPE)range: <= 24.0.5
- (no CPE)range: < 25.3.1
Patches
Vulnerability mechanics
References
5- github.com/dgraph-io/dgraph/security/advisories/GHSA-p5rh-vmhp-gvcwnvdExploitVendor AdvisoryWEB
- github.com/advisories/GHSA-p5rh-vmhp-gvcwghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-34976ghsaADVISORY
- github.com/dgraph-io/dgraph/commit/b15c87e9353e36618bf8e0df3bd945c0ce7105efghsaWEB
- github.com/dgraph-io/dgraph/releases/tag/v25.3.1ghsaWEB
News mentions
0No linked articles in our index yet.