cve.bz

CVE-2025-59349

2.0 lowEPSS 0.1%

Low (2.0) in linuxfoundation dragonfly. EPSS 0.1% chance of exploitation in the next 30 days. Fixed in github.com/dragonflyoss/dragonfly 2.1.0.

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.

Severity

CVSS 4.0

2.0 low
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

CVSS 3.1

3.3 low
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
EPSS
0.1% chance of exploitation in the next 30 days; higher than 1% of CVEs (scores of 2026-10-31)
CWE
CWE-732
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8425-8r2f-mrv6Gogithub.com/dragonflyoss/dragonfly<2.1.02.1.0
GHSA-8425-8r2f-mrv6God7y.io/dragonfly/v2<2.1.02.1.0
GO-2025-3964God7y.io/dragonfly/v2<2.1.02.1.0
GO-2025-3964Gogithub.com/dragonflyoss/dragonflyall versionsno fix published

References

Check your stackJSON