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 VendorProductAffected 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.
Fix within
Internet-facing 3 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically
  • Gives an attacker full control
Severity
9.1 Critical
Exploitation
<1% chance of attack within 30 days
Type
CWE-306Missing Authentication for Critical Function
Timeline
Published8 Jul 2026
Updated15 Nov 2026
First seen8 Jul 2026
Sources
CVE-2026-54061 · MITRE
Track software like this
Free during beta