Dgraph
Dgraph Affected by 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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 25.3.1
Fixed in 25.3.1
Mitigation
Upgrade dgraph to 25.3.1 or later.
References
- Vendor advisory github.com/dgraph-io/dgraph/security/advisorie…
Timeline
Days relative to CVE publicationFirst public PoC 127 days after publication; not in CISA KEV. First PoC: nuclei template: Dgraph <=v25.3.0 - Admin Mutation Missing Authorization (nuclei template, 11 Aug 2026).
PoC repositories
Found on GitHub.No PoC repositories found yet.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: Dgraph <=v25.3.0 - Admin Mutation Missing Authorization | 11 Aug 2026 | 14 Nov 2026 |