CVE-2025-59349
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-09-17

Last updated on: 2025-09-18

Assigner: GitHub, Inc.

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-09-17
Last Modified
2025-09-18
Generated
2026-06-16
AI Q&A
2025-09-17
EPSS Evaluated
2026-06-15
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linuxfoundation dragonfly to 2.1.0 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-732 The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability exists in Dragonfly2 versions prior to 2.1.0, where the software uses the os.MkdirAll function to create directories without checking permissions if the directory already exists. A local attacker can exploit this by pre-creating a directory with broad permissions that Dragonfly2 will later use, potentially allowing the attacker to tamper with files within that directory.

Impact Analysis

The vulnerability can allow a local attacker to tamper with files used by Dragonfly2 by exploiting the directory creation process. This could lead to unauthorized modification of files, potentially compromising the integrity of the system or data managed by Dragonfly2.

Mitigation Strategies

Upgrade DragonFly2 to version 2.1.0 or later, as this version contains the fix for the vulnerability related to directory creation permissions.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-59349. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart