CVE-2025-59349
vulnerability analysis and mitigation

Overview

Dragonfly, an open source P2P-based file distribution and image acceleration system, was found to have a security vulnerability in versions prior to 2.1.0. The vulnerability (CVE-2025-59349) involves DragonFly2's usage of the os.MkdirAll function for creating directory paths with specific access permissions, where the function fails to perform permission checks on pre-existing directory paths (NVD, GitHub Advisory).

Technical details

The vulnerability is classified as CWE-732 (Incorrect Permission Assignment for Critical Resource). It received a CVSS v3.1 base score of 3.3 (Low) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N, and a CVSS v4.0 score of 2.0 (Low) with the vector string CVSS: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 (NVD).

Impact

The vulnerability allows a local attacker with unprivileged access to create directories that will be used by DragonFly2 with broad permissions. This could enable the attacker to tamper with files, potentially deleting and forging files in the affected directory to manipulate the results of commands executed by legitimate users (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in DragonFly2 version 2.1.0. There are no effective workarounds available besides upgrading to the patched version (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management