Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.1
CVE-2026-54061: Dgraph Alpha lets anyone replace data via snapshot import
CVE-2026-54061 · published 4 months ago
Summary
The Dgraph Alpha server exposed a network port that accepted snapshot files without checking who was sending them. An attacker could send a crafted snapshot and cause the entire database to be deleted and overwritten. Update to version 25.3.5 or later and block external access to the gRPC port to protect your data.
What to do
- Update github.com dgraph-io to version 25.3.5.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| – | dgraph-io | dgraph | < 25.3.5 |
| go | github.com | dgraph-io |
<= 25.3.4 Fix: upgrade to 25.3.5
|
Original advisory text
Dgraph Alpha group stores can be replaced via unauthenticated external snapshot import
Dgraph is an open source distributed GraphQL database. Prior to version 25.3.5, Dgraph Alpha exposes the RPCs used for external snapshot import on the public gRPC port `:9080` without authentication or authorization. As a result, an unauthenticated network client can open `StreamExtSnapshot` and send Badger stream data to the target group’s store. In addition, the receiver calls `Prepare()` before processing the stream. This operation deletes and replaces the existing DB data. Version 25.3.5 patches the issue.
References
- https://github.com/advisories/GHSA-rrwh-6jrq-wp5v
- https://github.com/dgraph-io/dgraph/releases/tag/v25.3.5 URL
- https://nvd.nist.gov/vuln/detail/CVE-2026-54061 Vendor Advisory
- https://github.com/dgraph-io/dgraph/security/advisories/GHSA-rrwh-6jrq-wp5v Vendor Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54061... Vendor Advisory
Internet-facing
3 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically
- Gives an attacker full control
Type
CWE-306Missing Authentication for Critical Function
Timeline
Published8 Jul 2026
Updated15 Nov 2026
First seen8 Jul 2026
Track software like this
Free during beta