Vulnerabilities · 2025 · Linuxfoundation
CVE-2025-59349
Linuxfoundation Dragonfly vulnerability
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.
Affected products
Dragonfly. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linuxfoundation Dragonfly runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/dragonflyoss/dragonfly/security/advisories/GHSA-8425-8r2f-mrv6 · Patch
- github.com/dragonflyoss/dragonfly/blob/main/docs/security/dragonfly-comprehensive-report-2
- nvd.nist.gov/vuln/detail/CVE-2025-59349
- pkg.go.dev/vuln/GO-2025-3964
- github.com/advisories/GHSA-8425-8r2f-mrv6
- nvd.nist.gov/vuln/detail/CVE-2025-59349
- cve.org/CVERecord?id=CVE-2025-59349
More vulnerabilities in Linuxfoundation products
CVE-2026-24747CVE-2026-24117CVE-2026-23955CVE-2026-23831CVE-2025-68141CVE-2025-68140CVE-2025-68139CVE-2025-68138All 418
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.