SEVERITY AND EXPLOITATION CONTEXT

CVE-2025-59349: Directories created via os.MkdirAll are not checked for permissions

Review published vectors, EPSS probability and CISA KEV status independently.

Lookup reads saved CVE and CISA snapshots from this site and requests EPSS from FIRST. The CVE source is contacted when a saved record is unavailable or you request a refresh. External providers receive your IP address. Finding notes and saved assessments are not sent by this feature.

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 CVE snapshot: 2026-10-22. Record last updated: 2025-09-18T17:35:48.904Z. The live panels refresh separately; this snapshot remains available if a source cannot be reached.

View the CVE Program source record

GitHub_M · CVSS 4.0: 2.0 Low

Calculated from the published vector. Base score: 5.1. Provider-reported Base score: 2.

Vector and metric explanationsCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
MetricValueMeaning
Attack vector (AV)LRequires local access, a local execution path, or a user opening an attacker-supplied file.
Attack complexity (AC)LThere is no specific security-enhancing condition that the attacker must overcome.
Attack requirements (AT)NNo particular deployment or execution prerequisite is needed.
Privileges required (PR)NThe attacker needs no privileges before exploiting the vulnerability.
User interaction (UI)NNo other user must participate for exploitation to succeed.
Confidentiality (VC)NNo confidentiality impact is demonstrated.
Integrity (VI)LSome modification is possible, with limited scope or consequence.
Availability (VA)NNo availability impact is demonstrated.
Confidentiality (SC)NNo impact to this property is established in a subsequent system.
Integrity (SI)NNo impact to this property is established in a subsequent system.
Availability (SA)NNo impact to this property is established in a subsequent system.
Exploit maturity (E)PPublic proof-of-concept evidence exists, but known attacks and ready-to-use exploit tooling are not established.

These definitions explain provider selections; they do not independently verify exploitation.

Review vector in calculator

Affected products reported by the provider

  • dragonflyoss · dragonfly

Consult the advisory for affected version ranges, configurations and remediation. A product listing alone does not establish that your installation is vulnerable.

Source references (2)

Interpret severity and exploitation separately

CVSS measures technical severity. EPSS estimates exploitation probability over the next 30 days. CISA KEV lists known exploited vulnerabilities. A missing EPSS result is not zero probability, and absence from KEV does not prove no exploitation. Review your deployment and retain the version, vector and evidence when documenting a finding.

Browse CVEs from 2025 · All published CVEs · Calculation methodology