CVE-2025-59349

CVE-2025-59349 is a low-severity vulnerability in Linuxfoundation Dragonfly with a CVSS 3.x base score of 3.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-732.

Key facts

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.

Frequently asked questions

What is 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.
How severe is CVE-2025-59349?
CVE-2025-59349 has a CVSS 3.x base score of 3.3, rated low severity. It is exploitable over local access with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is none, integrity low, and availability none.
Is CVE-2025-59349 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (1st percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2025-59349?
CVE-2025-59349 affects Linuxfoundation Dragonfly. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2025-59349?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2025-59349 have an EU (EUVD) identifier?
Yes. CVE-2025-59349 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-29775.
When was CVE-2025-59349 published?
CVE-2025-59349 was published on 2025-09-17 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Linuxfoundation Dragonfly

All CVEs affecting Linuxfoundation Dragonfly →

Other CWE-732 (Incorrect Permission Assignment for Critical Resource) vulnerabilities

Browse all CWE-732 (Incorrect Permission Assignment for Critical Resource) vulnerabilities →