Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2025-59352 — dragonfly

🔴 CVSS 9.8 — Critical ✅ No Known Exploit CWE-202 NVD
9.8
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

DragonFly vulnerable to arbitrary file read and write on a peer machine

Impact

A peer exposes the gRPC API and HTTP API for consumption by other peers. These 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.

```golang

file, err := os.OpenFile(t.DataFilePath, os.O_RDWR, defaultFileMode)

if err != nil {

return 0, err

}

defer file.Close()

if _, err = file.Seek(req.Range.Start, io.SeekStart); err != nil {

return 0, err

}

n, err := io.Copy(file, io.LimitReader(req.Reader, req.Range.Length))

```

Patches

  • Dragonfy v2.1.0 and above.

Workarounds

There are no effective workarounds, beyond upgrading.

References

A third party security audit was performed by Trail of Bits, you can see the [full report](https://github.com/dragonflyoss/dragonfly/blob/main/docs/security/dragonfly-comprehensive-report-2023.pdf).

If you have any questions or comments about this advisory, please email us at [[email protected]](mailto:[email protected]).

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

  • Attack vector: Network — reachable from anywhere that can route to the service.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Privileges required: None — an unauthenticated stranger can try it.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: High — total loss, or loss the attacker controls.
  • Integrity impact: High — total loss, or loss the attacker controls.
  • Availability impact: High — total loss, or loss the attacker controls.

Weakness class

CVE-2025-59352 is classified as CWE-202: Exposure of Sensitive Information Through Data Queries. When trying to keep information confidential, an attacker can often infer some of the information by using statistics.

Affected software

CVE-2025-59352 is recorded against 3 packages.

  • d7y.io/dragonfly/v2
  • dragonfly (fixed in 2.1.0)
  • github.com/dragonflyoss/dragonfly

Timeline and source

Published on 17 September 2025 and last revised on 3 March 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.

References

github.com (Web)
nvd.nist.gov (Advisory)
github.com (Package)
github.com (Web)
pkg.go.dev (Web)

Other advisories for this package

d7y.io/dragonfly/v2 has other advisories on record. If you are patching this one, these are worth checking on the same host:

Same weakness in other software

These advisories are the same class of weakness (CWE-202: Exposure of Sensitive Information Through Data Queries) in other software:

Details

Severity Critical
CVSS Score 9.8
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE CWE-202
Public Exploit ✅ No
Source NVD
Published 2025-09-17
Updated 2026-08-20
Modified 2026-03-03

Affected Packages

Software From version Fixed in
d7y.io/dragonfly/v2 — —
dragonfly — 2.1.0
github.com/dragonflyoss/dragonfly — —

Similar Threats

Exploit Protection

Are you running dragonfly?

CVE-2025-59352 carries CVSS 9.8 Critical rating. BotEraser checks your installation against this and other known CVE records, and blocks IPs associated with exploit activity.

Check My Site For CVE-2025-59352 →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2025
✓