Live threats

All CVEs / Dgraph

CVE-2026-34976Dgraph

Critical 10.0 No auth needed

Priority
75
CVSS 3.1
10.0
EPSS
—
Auth required
No
Published
Apr 6, 2026
Updated
Oct 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-862
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Dgraph.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/dgraph-io/dgraph ≤ 1.2.8 no fixed version —
Go github.com/dgraph-io/dgraph all no fixed version —
Go github.com/dgraph-io/dgraph/v24 ≤ 24.0.5 no fixed version —
Go github.com/dgraph-io/dgraph/v25 < 25.3.1 25.3.1 go get github.com/dgraph-io/dgraph/v25@v25.3.1
Go github.com/dgraph-io/dgraph/v25 < 25.3.1 25.3.1 go get github.com/dgraph-io/dgraph/v25@v25.3.1
Go github.com/hypermodeinc/dgraph/v24 ≥ 24.0.0 < 24.1.6 24.1.6 go get github.com/hypermodeinc/dgraph/v24@v24.1.6

Per OSV / GitHub Advisories (GHSA-p5rh-vmhp-gvcw, GO-2026-5529). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
dgraphdgraph≤ 25.3.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.