CVE-2026-34976
Dgraph is an open source distributed GraphQL database. Prior to …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/dgraph-io/dgraph/security/advisories/GHSA-p5rh-vmhp-gvcw
- github.com/dgraph-io/dgraph/commit/b15c87e9353e36618bf8e0df3bd945c0ce7105ef
- github.com/dgraph-io/dgraph/releases/tag/v25.3.1
- github.com/advisories/GHSA-p5rh-vmhp-gvcw
- nvd.nist.gov/vuln/detail/CVE-2026-34976
- nvd.nist.gov/vuln/detail/CVE-2026-34976
- cve.org/CVERecord?id=CVE-2026-34976
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.