Vulnerability in Dragonflyoss Dragonfly

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.

EPSS: 0.001 (1.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-59349?
CVE-2025-59349 is a low-severity vulnerability in Dragonflyoss Dragonfly, classified under Incorrect Permission Assignment for Critical Resource. CVSS score: 3.3/10. Published 2025-09-17.
How severe is CVE-2025-59349?
Low severity. CVSS v3 base score is 3.3 out of 10.