CVE-2025-59349
LOWDragonfly < 2.1.0 - Incorrect Permission Assignment for Critical Resource via Directory Creation
Title source: llmDescription
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.
References (2)
Core 2
Core References
Patch, Third Party Advisory x_refsource_confirm
https://github.com/dragonflyoss/dragonfly/security/advisories/GHSA-8425-8r2f-mrv6
Scores
CVSS v3
3.3
EPSS
0.0011
EPSS Percentile
1.3%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-732
Status
published
Products (3)
dragonfly/v2
0 - 2.1.0Go
dragonflyoss/dragonfly
0 - 2.1.0Go
linuxfoundation/dragonfly
< 2.1.0
Published
Sep 17, 2025
Tracked Since
Feb 18, 2026