CVE-2026-34976
Dgraph: Pre-Auth Database Overwrite + SSRF + File Read via restoreTenant Missing Authorization
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut GHSA.
Beschreibung
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.
Betroffene Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| go::GitHub Security Advisory Go | github.com/dgraph-io/dgraph, github.com/dgraph-io/dgraph/v24, github.com/dgraph-io/dgraph/v25 | 25.3.1 |
| chainguard | dgraph | 25.3.1-r0 |
| wolfi | dgraph | 25.3.1-r0 |
Alle 5 Einträge aus 3 Quellen zeigen
| Quelle | Paket | Behoben in |
|---|---|---|
| go::GitHub Security Advisory Go | github.com/dgraph-io/dgraph | kein Fix angegeben |
| go::GitHub Security Advisory Go | github.com/dgraph-io/dgraph/v24 | kein Fix angegeben |
| go::GitHub Security Advisory Go | github.com/dgraph-io/dgraph/v25 | 25.3.1 |
| chainguard | dgraph | 25.3.1-r0 |
| wolfi | dgraph | 25.3.1-r0 |