Description
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.
Published: 2026-07-08
Score: 9.1 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Dgraph is an open‑source distributed GraphQL database that, before version 25.3.5, exposes the remote procedure calls used for external snapshot import on the public gRPC port 9080 without authentication or authorization (CWE‑306). A remote attacker can call the StreamExtSnapshot RPC and stream Badger snapshot data. Because the server performs a Prepare operation that deletes the existing database before ingesting the new stream, the attacker can overwrite the entire dataset. The vulnerability enables a full data replacement, creating severe integrity and availability impact.

Affected Systems

Any instance of Dgraph Alpha running a version older than 25.3.5 and exposing the gRPC port to a network that an attacker can reach is affected. This includes deployments that have the default 9080 port accessible from external networks or from any internal network segment the attacker can access.

Risk and Exploitability

The CVSS score of 9.1 indicates a high severity vulnerability that requires only network connectivity to the exposed gRPC port and the ability to send a Badger snapshot; no credentials or privileged access are needed. The EPSS score of less than 1 % suggests that exploitation is considered unlikely at present, but the lack of authentication makes the attack possible whenever the service is reachable. The likely attack vector is inferred to be a remote network connection to the gRPC port, since no specialized local privilege or user interaction is required.

Generated by OpenCVE AI on July 31, 2026 at 13:59 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the Dgraph 25.3.5 or later release to fix the missing authentication on the external snapshot import RPC (CWE‑306).
  • Restrict external access to the gRPC port 9080 using firewall rules or by configuring the network to expose the service only inside a trusted perimeter.
  • Disable the external snapshot import RPCs if they are not required, thereby removing the attack surface.

Generated by OpenCVE AI on July 31, 2026 at 13:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 10 Jul 2026 09:45:00 +0000

Type Values Removed Values Added
First Time appeared Dgraph
Dgraph dgraph
Vendors & Products Dgraph
Dgraph dgraph

Wed, 08 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 08 Jul 2026 14:15:00 +0000

Type Values Removed Values Added
Description 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.
Title Dgraph Alpha group stores can be replaced via unauthenticated external snapshot import
Weaknesses CWE-306
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-08T14:26:13.341Z

Reserved: 2026-06-11T18:24:35.096Z

Link: CVE-2026-54061

cve-icon Vulnrichment

Updated: 2026-07-08T14:25:47.323Z

cve-icon NVD

Status : Deferred

Published: 2026-07-08T14:17:06.520

Modified: 2026-07-08T15:28:15.630

Link: CVE-2026-54061

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T14:00:07Z

Weaknesses
  • CWE-306

    Missing Authentication for Critical Function