CVEvulnerability

CVE-2026-34976

10.0 CRITICAL Published 2026-04-06 Modified 2026-10-24 Official page ↗
Status
Analyzed
Published
2026-04-06
Last modified
2026-10-24
Assigner
[email protected]
CVSS 3.1 ([email protected])
10.0 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Weaknesses
CWE-862

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.

Affected configurations

• dgraph dgraph (<= 25.3.0)

Related

Weakness · CWE (1)

  • CWE-862 Missing Authorization weakness

References