Live threats

All CVEs / Linuxfoundation

CVE-2025-59349Linuxfoundation Dragonfly

Low 2.0

Priority
12
CVSS 4.0
2.0
EPSS
—
Auth required
Yes
Published
Sep 17, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-732
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

Dragonfly is an open source P2P-based file distribution and image acceleration system. Prior to 2.1.0, DragonFly2 uses the os.MkdirAll function to create certain directory paths with specific access permissions. This function does not perform any permission checks when a given directory path already exists. This allows a local attacker to create a directory to be used later by DragonFly2 with broad permissions before DragonFly2 does so, potentially allowing the attacker to tamper with the files. This vulnerability is fixed in 2.1.0.

Original NVD text.

What to do

  1. Apply the vendor's security update for Dragonfly.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go d7y.io/dragonfly/v2 < 2.1.0 2.1.0 go get d7y.io/dragonfly/v2@v2.1.0
Go d7y.io/dragonfly/v2 < 2.1.0 2.1.0 go get d7y.io/dragonfly/v2@v2.1.0
Go github.com/dragonflyoss/dragonfly < 2.1.0 2.1.0 go get github.com/dragonflyoss/dragonfly@v2.1.0
Go github.com/dragonflyoss/dragonfly all no fixed version —

Per OSV / GitHub Advisories (GHSA-8425-8r2f-mrv6, GO-2025-3964). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
linuxfoundationdragonfly< 2.1.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.