---
title: "CVE-2026-34976: Dgraph: Pre-Auth Database Overwrite + SSRF + File Read via restoreTenant Missing Authorization"
url: https://erroneo.us/security/cve/CVE-2026-34976/
description: "CVE-2026-34976 (github.com/dgraph-io/dgraph/v25 (Go)): Dgraph is an open source distributed GraphQL database. Prior to 25.3.1, the restoreTenant admin…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-04-06
date_modified: 2026-04-07
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-34976"
kev: false
cvss: 10
epss: 0.01655
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2026-34976: Dgraph: Pre-Auth Database Overwrite + SSRF + File Read via restoreTenant Missing Authorization

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 1.7% , percentile 76: FIRST’s model estimates a 1.7% chance of exploitation activity in the next 30 days, higher than 76% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes github.com/dgraph-io/dgraph/v25 (Go) <= 25.3.0, fixed in 25.3.1 ; github.com/dgraph-io/dgraph/v24 (Go) <= 24.0.5, no fixed version listed ; github.com/dgraph-io/dgraph (Go) <= 1.2.8, no fixed version listed . Check your lockfile, including transitive dependencies.

## What it is

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 packages

- Go `github.com/dgraph-io/dgraph/v25` <= 25.3.0 → fixed: 25.3.1
- Go `github.com/dgraph-io/dgraph/v24` <= 24.0.5 → fixed: none listed
- Go `github.com/dgraph-io/dgraph` <= 1.2.8 → fixed: none listed

## Affected products (CVE record)

- dgraph-io dgraph: < 25.3.1

## Severity

- GitHub_M CVSS 3.1: 10 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- GitHub CVSS 3.1: 10.0 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 1.65% probability of exploitation activity in the next 30 days; percentile 76.

## Sources

- [GitHub Advisory GHSA-p5rh-vmhp-gvcw](https://github.com/advisories/GHSA-p5rh-vmhp-gvcw)
- [CVE.org record CVE-2026-34976](https://www.cve.org/CVERecord?id=CVE-2026-34976)
- [NVD entry CVE-2026-34976](https://nvd.nist.gov/vuln/detail/CVE-2026-34976)
- [github.com](https://github.com/dgraph-io/dgraph/security/advisories/GHSA-p5rh-vmhp-gvcw)
- [github.com](https://github.com/dgraph-io/dgraph/commit/b15c87e9353e36618bf8e0df3bd945c0ce7105ef)
- [github.com](https://github.com/dgraph-io/dgraph/releases/tag/v25.3.1)

---
Source page: https://erroneo.us/security/cve/CVE-2026-34976/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
