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

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, a missing‑authentication flaw identified as CWE‑306. An unauthenticated network client can open the StreamExtSnapshot RPC and send Badger stream data to the target group’s store. Because the receiver calls Prepare() before processing the stream, the existing database is deleted and replaced with the supplied data. This allows the attacker to overwrite all database contents, potentially destroying legitimate data.

Affected Systems

prior to version 25.3.5, as identified by the vendor dgraph-io:dgraph. Any instance that exposes gRPC port to a network that an attacker can reach is susceptible. The affected versions are the pre‑25.3.5 releases of Dgraph Alpha.

Risk and Exploitability

The CVSS score of 9.1 indicates a high‑severity vulnerability that requires only network connectivity to the gRPC port and the ability to send a Badger snapshot; no additional secrets or privileged access are needed. Because the RPC is exposed without authentication, it can be used to replace the database with arbitrary data. The EPSS score of less than 1 % shows that exploitation is considered unlikely, but if the service is reachable, the lack of authentication still allows the attack.

Generated by OpenCVE AI on July 26, 2026 at 18:04 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 not required, removing the attack surface.

Generated by OpenCVE AI on July 26, 2026 at 18:04 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

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-26T18:15:17Z

Weaknesses
  • CWE-306

    Missing Authentication for Critical Function