Skip to content
Fencer Vulns
critical 10.0

CVE-2026-34976 json

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

published 2026-04-02 7 mo ago modified 2026-10-24 15 d ago also EUVD-2026-19360 , GHSA-p5rh-vmhp-gvcw , GO-2026-5529

cvss
10.0
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
2.1%
EPSS 2.1% chance of exploitation in 30 days, percentile 81%
public exploits
0
none known, plus a Nuclei check

Summary

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.

Patch / fix

  • go github.com/dgraph-io/dgraph/v25 25.3.1
  • go github.com/hypermodeinc/dgraph/v24 24.1.6
  • dgraph dgraph 25.3.1
  • govulncheck-vulndb SLES for SAP applications 16.0, SLES 16.0 0.0.20260827T195228-160000.1.1

suse advisories SUSE-SU-2026:23625-1

  • govulncheck-vulndb openSUSE Leap 16.0 0.0.20260827T195228-160000.1.1

opensuse advisories openSUSE-SU-2026:21761-1

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
total
Assessed
7 mo ago

Exploit prediction

2.07% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • Nuclei template Dgraph <=v25.3.0 - Admin Mutation Missing Authorization nuclei detection template
  • github.com https://github.com/dgraph-io/dgraph/security/advisories/GHSA-p5rh-vmhp-gvcw referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 10.0 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
GitHub 3.1 10.0 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
go github.com/dgraph-io/dgraph/v25
<25.3.1
25.3.1
go github.com/dgraph-io/dgraph/v24
<=24.0.5
no fix listed
go github.com/dgraph-io/dgraph
<=1.2.8
all versions
no fix listed
go github.com/hypermodeinc/dgraph/v24
>=24.0.0, <24.1.6
24.1.6

Affected products

  • dgraph-io dgraph

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.