Advisory

GO-2026-5529

Also known as: CVE-2026-34976, GHSA-p5rh-vmhp-gvcw

Summary

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

Details

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.

Severity

Not rated by the source.

Dates

Published
2026-08-11 20:19 UTC
Modified
2026-08-11 20:45 UTC

Affected packages and fixes

github.com/dgraph-io/dgraph

Go · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

github.com/dgraph-io/dgraph/v25

Go · All systems

Affected

  • introduced 0, fixed 25.3.1 (semver)

Fixed versions

25.3.1

Fix

github.com/hypermodeinc/dgraph/v24

Go · All systems

Affected

  • introduced 24.0.0, fixed 24.1.6 (semver)

Fixed versions

24.1.6

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences