Read the docs
TI-2025-36910 Aliases CVE-2025-59349GHSA-8425-8r2f-mrv6

Directories created via os.MkdirAll are not checked for permissions

Priority LOW 10CWE-732Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
None · Low · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00116 1st percentileScored 2026-11-07
Fix Fixed dragonfly (dragonflyoss): 2.1.0github.com/dragonflyoss/dragonfly (Go): 2.1.0+1 more product

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
backstagedragonflybefore 2.1.02.1.0Patch availableCNA
—github.com/dragonflyoss/dragonfly (Go)before 2.1.02.1.0Patch availableGHSA-8425-8r2f-mrv6
—d7y.io/dragonfly/v2 (Go)before 2.1.02.1.0Patch availableGHSA-8425-8r2f-mrv6
  • dragonfly Vendorbackstage Affected before 2.1.0 Fixed in 2.1.0 Patch available CNA
  • github.com/dragonflyoss/dragonfly (Go) Vendor— Affected before 2.1.0 Fixed in 2.1.0 Patch available GHSA-8425-8r2f-mrv6
  • d7y.io/dragonfly/v2 (Go) Vendor— Affected before 2.1.0 Fixed in 2.1.0 Patch available GHSA-8425-8r2f-mrv6

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:linuxfoundation:dragonfly:*:*:*:*:*:go:*:*before 2.1.0Vulnerablebackstage
  • cpe:2.3:a:linuxfoundation:dragonfly:*:*:*:*:*:go:*:* Versions before 2.1.0 Vulnerable ·backstage

Remediation

  • Fix · CNA dragonfly (dragonflyoss) Fixed in 2.1.0
  • Fix · GHSA-8425-8r2f-mrv6 github.com/dragonflyoss/dragonfly (Go) Fixed in 2.1.0 Advisory →
  • Fix · GHSA-8425-8r2f-mrv6 d7y.io/dragonfly/v2 (Go) Fixed in 2.1.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-59349
  2. 2026-10-03 Alias added: GHSA-8425-8r2f-mrv6

References

  • TI-2023-12294 Dragonfly2 vulnerable to hard coded cyptographic key CVSS 3.1CRITICAL 9.8
  • TI-2025-36909 Dragonfly incorrectly handles a task structure’s usedTraffic field CVSS 4.0MEDIUM 5.5
  • TI-2025-36907 Dragonfly server-side request forgery vulnerability CVSS 4.0MEDIUM 5.5
  • TI-2025-36908 Dragonfly Manager makes requests to external endpoints with disabled TLS authentication CVSS 4.0LOW 2.7
  • TI-2026-19442 Dragonfly Manager Job API Allows Unauthenticated Access CVSS 4.0HIGH 8.9
  • TI-2025-36906 Dragonfly did not enable authentication for some Manager’s endpoints CVSS 4.0HIGH 7.7
See all 12 →

Sources