Missing Authorization Affecting dgraph package, versions <25.3.1-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.17% (39th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Missing Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-WOLFILATEST-DGRAPH-15888806
  • published4 Apr 2026
  • disclosed6 Apr 2026

Introduced: 4 Apr 2026

CVE-2026-34976  (opens in a new tab)
CWE-862  (opens in a new tab)

How to fix?

Upgrade Wolfi dgraph to version 25.3.1-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream dgraph package and not the dgraph package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

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.