10.0 CRITICAL
- CVSS version: 3.1
- Attack vector (AV): NETWORK
- Attack complexity (AC): LOW
- Privileges required (PR): NONE
- User interaction (UI): NONE
- Scope (S): CHANGED
- Confidentiality impact (C): HIGH
- Integrity impact (I): HIGH
- Availability impact (A): HIGH
Dgraph Affected by 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.
References
-
https://github.com/dgraph-io/dgraph/security/advisories/GHSA-p5rh-vmhp-gvcw x_refsource_CONFIRM
Affected products
- ==< 25.3.1
Matching in nixpkgs
pkgs.dgraph
Fast, Distributed Graph DB
pkgs.coqPackages.dpdgraph
Build dependency graphs between Coq objects
pkgs.perlPackages.GDGraph
Graph Plotting Module for Perl 5
pkgs.perl5Packages.GDGraph
Graph Plotting Module for Perl 5
pkgs.perl538Packages.GDGraph
Graph Plotting Module for Perl 5
pkgs.perl540Packages.GDGraph
Graph Plotting Module for Perl 5
Package maintainers
-
@sigma Yann Hodique <yann.hodique@gmail.com>
-
@vbgl Vincent Laporte <Vincent.Laporte@gmail.com>