Security mailing lists by PureSourceCode

CVE-2025-59349

LOW 2.0CVSS 4.0

Dragonfly's 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
17 Sep 2025
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-276CWE-732
Also known as
GHSA-8425-8r2f-mrv6GO-2025-3964
Sources
NVDJSONOSV GHSA-8425-8r2f-mrv6JSONOSV GO-2025-3964JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 LOW 2.0 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 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 nvd@nist.gov (Primary) CVSS 3.1 LOW 3.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD linuxfoundation dragonfly
cpe:2.3:a:linuxfoundation:dragonfly:*:*:*:*:*:go:*:*
< 2.1.0 2.1.0
OSV Go github.com/dragonflyoss/dragonfly < 2.1.0 2.1.0
OSV Go d7y.io/dragonfly/v2 < 2.1.0 2.1.0
OSV Go github.com/dragonflyoss/dragonfly all versions

References

History

  • 25 Nov 2026 20:59 UTC · NVD: first stored (published 17 Sep 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Sep 2025)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 Sep 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.