{"cve":"CVE-2026-34976","nvd":{"published":"2026-04-06T17:17:11.370","modified":"2026-10-24T13:10:00.147","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":10.0},"cwes":["CWE-862"],"references":["https://github.com/dgraph-io/dgraph/security/advisories/GHSA-p5rh-vmhp-gvcw","https://github.com/dgraph-io/dgraph/security/advisories/GHSA-p5rh-vmhp-gvcw"],"products":["dgraph:dgraph"],"source":"nvd","synced_at":"2026-10-24T16:53:27.712498749+00:00"},"epss":{"cve":"CVE-2026-34976","score":0.02066,"percentile":0.81251,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-p5rh-vmhp-gvcw","url":"https://osv.dev/vulnerability/GHSA-p5rh-vmhp-gvcw","summary":"Dgraph: Pre-Auth Database Overwrite + SSRF + File Read via restoreTenant Missing Authorization","modified":"2026-09-10T03:50:44.814136892Z","packages":[{"ecosystem":"Go","name":"github.com/dgraph-io/dgraph/v25","purl":"pkg:golang/github.com/dgraph-io/dgraph/v25","ranges":["<25.3.1"],"fixed":["25.3.1"]},{"ecosystem":"Go","name":"github.com/dgraph-io/dgraph/v24","purl":"pkg:golang/github.com/dgraph-io/dgraph/v24","ranges":["<=24.0.5"],"fixed":[]},{"ecosystem":"Go","name":"github.com/dgraph-io/dgraph","purl":"pkg:golang/github.com/dgraph-io/dgraph","ranges":["<=1.2.8"],"fixed":[]}]},{"id":"GO-2026-5529","url":"https://osv.dev/vulnerability/GO-2026-5529","summary":"Unauthenticated restoreTenant mutation allows database overwrite and SSRF in github.com/dgraph-io/dgraph","modified":"2026-08-11T20:45:07.544223309Z","packages":[{"ecosystem":"Go","name":"github.com/dgraph-io/dgraph","purl":"pkg:golang/github.com/dgraph-io/dgraph","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/dgraph-io/dgraph/v25","purl":"pkg:golang/github.com/dgraph-io/dgraph/v25","ranges":["<25.3.1"],"fixed":["25.3.1"]},{"ecosystem":"Go","name":"github.com/hypermodeinc/dgraph/v24","purl":"pkg:golang/github.com/hypermodeinc/dgraph/v24","ranges":[">=24.0.0 <24.1.6"],"fixed":["24.1.6"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}