Auth bypass in Dgraph
CVE-2026-34976
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.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 10.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.017 (75.6th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 76th percentile — 75.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.020 · newest: 0.017 · change: -0.004
Affected products
- Dgraph
- Dgraph-Io Dgraph — versions < 25.3.1
Weakness classification (CWE)
References
- github.com/dgraph-io/dgraph/security/advisories/GHSA-p5rh-vmhp-gvcw (Exploit, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-34976?
- CVE-2026-34976 is a critical-severity vulnerability in Dgraph, classified under Missing Authorization. CVSS score: 10.0/10. Published 2026-04-06.
- How severe is CVE-2026-34976?
- Critical severity. CVSS v3 base score is 10.0 out of 10.