๐Ÿ” CVE Alert

CVE-2026-34976

CRITICAL 10.0

Dgraph Affected by Pre-Auth Database Overwrite + SSRF + File Read via restoreTenant Missing Authorization

CVSS Score
10.0
EPSS Score
0.0%
EPSS Percentile
10th

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.

CWE CWE-862
Vendor dgraph-io
Product dgraph
Published Apr 6, 2026
Last Updated Apr 7, 2026
Stay Ahead of the Next One

Get instant alerts for dgraph-io dgraph

Be the first to know when new critical vulnerabilities affecting dgraph-io dgraph are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

dgraph-io / dgraph
< 25.3.1

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/dgraph-io/dgraph/security/advisories/GHSA-p5rh-vmhp-gvcw