CVE-2025-59349
CVE-2025-59349 — Directories created via os.MkdirAll are not checked for permissions
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.
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
2.0
LOW
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 2.0 | CVSS 4.0 | LOW | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-732
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1574.010Hijack Execution Flow: ServicesFile Permissions Weakness
- T1548Abuse Elevation Control Mechanism
- T1083File and Directory Discovery
References
2 on the record
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-123039 Local privilege escalation to root in the DynamicCLI daemon via local world-writable control socketCVSS 7.8 · CISA KEV
- CVE-2022-22960 VMware Multiple Products Privilege Escalation VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2021-23874 McAfee Total Protection (MTP) Improper Privilege Management VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2019-15752 Docker Desktop Community Edition Privilege Escalation VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2018-13374 Fortinet FortiOS and FortiADC Improper Access Control VulnerabilityCVSS 4.3 · CISA KEV
- CVE-2026-80325 Incorrect Permission Assignment for Policy ObjectsCVSS 9.3
Elsewhere on this site
- Dragonflyossevery CVE for this vendor
- CWE-732other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.