Read the docs
TI-2026-27198 Aliases CVE-2026-34976GHSA-p5rh-vmhp-gvcw

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

Priority HIGH 82CWE-862Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-862.

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.02066 81st percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed dgraph (dgraph-io): 25.3.1github.com/dgraph-io/dgraph/v25 (Go): 25.3.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
dgraph-iodgraphbefore 25.3.125.3.1Patch availableCNA
—github.com/dgraph-io/dgraph/v25 (Go)before 25.3.125.3.1Patch availableGHSA-p5rh-vmhp-gvcw
—github.com/dgraph-io/dgraph/v24 (Go)up to 24.0.5—No fix listedGHSA-p5rh-vmhp-gvcw
—github.com/dgraph-io/dgraph (Go)up to 1.2.8—No fix listedGHSA-p5rh-vmhp-gvcw
  • dgraph Vendordgraph-io Affected before 25.3.1 Fixed in 25.3.1 Patch available CNA
  • github.com/dgraph-io/dgraph/v25 (Go) Vendor— Affected before 25.3.1 Fixed in 25.3.1 Patch available GHSA-p5rh-vmhp-gvcw
  • github.com/dgraph-io/dgraph/v24 (Go) Vendor— Affected up to 24.0.5 Fixed in — No fix listed GHSA-p5rh-vmhp-gvcw
  • github.com/dgraph-io/dgraph (Go) Vendor— Affected up to 1.2.8 Fixed in — No fix listed GHSA-p5rh-vmhp-gvcw

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:dgraph:dgraph:*:*:*:*:*:go:*:*up to 25.3.0Vulnerabledgraph-io
  • cpe:2.3:a:dgraph:dgraph:*:*:*:*:*:go:*:* Versions up to 25.3.0 Vulnerable ·dgraph-io

Remediation

  • Fix · CNA dgraph (dgraph-io) Fixed in 25.3.1
  • Fix · GHSA-p5rh-vmhp-gvcw github.com/dgraph-io/dgraph/v25 (Go) Fixed in 25.3.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-34976
  2. 2026-10-03 Alias added: GHSA-p5rh-vmhp-gvcw

References

  • TI-2026-30079 Unauthenticated Admin Token Disclosure Leading to Authentication Bypass via /debug/vars in Dgraph CVSS 3.1CRITICAL 9.8
  • TI-2026-28987 Dgraph: Unauthenticated pprof endpoint leaks admin auth token CVSS 3.1CRITICAL 9.4
  • TI-2026-29929 Dgraph: Pre-Auth Full Database Exfiltration via DQL Injection in NQuad Lang Field CVSS 3.1CRITICAL 9.1
  • TI-2026-29928 Dgraph: Pre-Auth Full Database Exfiltration via DQL Injection in Upsert Condition Field CVSS 3.1CRITICAL 9.1
  • TI-2023-14845 Dgraph Audit Log Encryption nonce reuse CVSS 3.1MEDIUM 5.5

Sources