Vulnerability
CVE-2025-59349
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.
5 advisories report this vulnerability, across 3 ecosystems.
Advisories
-
GHSA-8425-8r2f-mrv6
Dragonfly's directories created via os.MkdirAll are not checked for permissions
-
GO-2025-3964
Dragonfly's directories created via os.MkdirAll are not checked for permissions in d7y.io/dragonfly
-
SUSE-SU-2025:3799-1
Security update for govulncheck-vulndb
-
openSUSE-SU-2025:15576-1
govulncheck-vulndb-0.0.20250924T192141-1.1 on GA media
-
openSUSE-SU-2026:21483-1
Security update for govulncheck-vulndb