Security mailing lists by PureSourceCode

CVE-2026-34976

CRITICAL 10.0CVSS 3.1

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

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.

Published
6 Apr 2026
Last modified
24 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-862
Also known as
GHSA-p5rh-vmhp-gvcwGO-2026-5529
Sources
NVDJSONOSV GHSA-p5rh-vmhp-gvcwJSONOSV GO-2026-5529JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 CRITICAL 10.0 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 10.0 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD dgraph dgraph
cpe:2.3:a:dgraph:dgraph:*:*:*:*:*:go:*:*
<= 25.3.0
OSV Go github.com/dgraph-io/dgraph/v25 < 25.3.1 25.3.1
OSV Go github.com/dgraph-io/dgraph/v24 <= 24.0.5
OSV Go github.com/dgraph-io/dgraph <= 1.2.8
OSV Go github.com/dgraph-io/dgraph all versions
OSV Go github.com/hypermodeinc/dgraph/v24 >= 24.0.0, < 24.1.6 24.1.6

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 6 Apr 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 11 Aug 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 2 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.