Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-34976

Unauthenticated restoreTenant mutation allows database overwrite and SSRF in github.com/dgraph-io/dgraph
Back to all
CVE

CVE-2026-34976

Unauthenticated restoreTenant mutation allows database overwrite and SSRF in github.com/dgraph-io/dgraph

The restoreTenant GraphQL mutation in Dgraph was missing from the admin mutation middleware configuration. This omission bypassed all authentication, IP whitelisting, and audit logging for this mutation.

An unauthenticated remote attacker could use this mutation to trigger a database restore from an arbitrary URL, potentially leading to a complete database overwrite, Server-Side Request Forgery (SSRF), or arbitrary file read on the host system.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
10
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
C
H
U
0
-
C
H
U
10
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Related Resources

No items found.

References

https://github.com/dgraph-io/dgraph/security/advisories/GHSA-p5rh-vmhp-gvcw, https://github.com/dgraph-io/dgraph/commit/b15c87e9353e36618bf8e0df3bd945c0ce7105ef, https://github.com/dgraph-io/dgraph/releases/tag/v25.3.1

Severity

10

CVSS Score
0
10

Basic Information

Base CVSS
10
EPSS Probability
0.02036%
EPSS Percentile
0.79651%
Introduced Version
0,24.0.0,v25.0.0-custom-qt-improv-1,v25.0.0-20251125204325-8c2875fa3375,v25.0.0-20250418040326-e01eebdf7962,v24.0.0-alpha,v24.0.0-20250107172524-171af7c47a00,v24.0.0-20240823084746-993353cf57e7,v0.0.0-20230914144033-e9f9b15ac21f
Fix Available
25.3.1,24.1.6,v25.3.1,v25.0.0-20260401210854-b15c87e9353e

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading