CVE-2025-59349Linuxfoundation Dragonfly
Low 2.0
Follow: this CVE · Linuxfoundation · Linuxfoundation Dragonfly We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Dragonfly.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| linuxfoundation | dragonfly | < 2.1.0 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Product
- github.com Patch Third Party Advisory