CVE-2025-59349 - CVE House
Back to Database
Status published Low CVE-2025-59349

Directories created via os.MkdirAll are not checked for permissions

Vulnerability Description

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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-59349

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

dragonflyoss

View all reports →

Affected Software

dragonfly
Vulnerable Versions:
< 2.1.0

Timeline

Official Publish: September 17th, 2025
Last Modified: September 18th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

Weaknesses (CWE)