Unauthenticated Access in Dgraph's RestoreTenant Mutation
CVE-2026-34976

10CRITICAL

Key Information:

Vendor

Dgraph-io

Status
Vendor
CVE Published:
6 April 2026

What is CVE-2026-34976?

Dgraph, an open-source distributed GraphQL database, has a significant vulnerability related to its restoreTenant admin mutation. Prior to version 25.3.1, this mutation lacked proper authorization checks, allowing unauthenticated attackers to exploit it. Unlike the similar restore mutation, which requires user authentication, restoreTenant operates with no middleware, exposing critical functions. Attackers can manipulate backup source URLs, which may include local files using 'file://', and leverage S3/MinIO credentials, encryption key file paths, and Vault credential file paths. This oversight gives malicious users the ability to overwrite entire databases, read sensitive server-side files, and conduct server-side request forgery (SSRF) attacks. The vulnerability has been addressed in version 25.3.1, highlighting the importance of rigorous security practices in database management.

Affected Version(s)

dgraph < 25.3.1

References

CVSS V3.1

Score:
10
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.