Vulnerability · Published Sep 17, 2025 · Assigned by GitHub_M
CVE-2025-59352Dragonfly allows arbitrary file read and write on a peer machine
Medium 6.9
In plain English
A medium-severity path traversal in dragonfly from dragonflyoss. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Dragonfly is an open source P2P-based file distribution and image acceleration system. Prior to 2.1.0, the gRPC API and HTTP APIs allow peers to send requests that force the recipient peer to create files in arbitrary file system locations, and to read arbitrary files. This allows peers to steal other peers’ secret data and to gain remote code execution (RCE) capabilities on the peer’s machine.This vulnerability is fixed in 2.1.0.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | d7y.io/dragonfly/v2 | 2.1.0 | GHSA-79hx-3fp8-hj66 |
| Go | d7y.io/dragonfly/v2 | 2.1.0 | GO-2025-3971 |
| Go | github.com/dragonflyoss/dragonfly | 2.1.0 | GHSA-79hx-3fp8-hj66 |
| Go | github.com/dragonflyoss/dragonfly | no fix listed | GO-2025-3971 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| dragonflyoss | dragonfly | < 2.1.0 |
Weakness: CWE-202, CWE-22 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H/E:P