Cyber Resilience

CVE-2025-59349

LPE in Linuxfoundation Dragonfly ≤ 2.1.0

Published
17 September 2025
Modified
18 September 2025
Patch / advisory
CVSS Score v4 2.0
Click a component to see what it means
Raw vectorCVSS: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
EPSS Score 0.0011 1th percentile
Risk Priority 15 floored blend · peak EPSS

Summary

CVE-2025-59349 is a low-severity Incorrect Permission Assignment for Critical Resource (CWE-732) vulnerability in Linuxfoundation Dragonfly. Its CVSS base score is 2.0 (Low).

Operationally, exploitation aligns with the MITRE ATT&CK technique Path Interception (T1034); ranked at the 1th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-6 (Least Privilege) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1034 Path Interception Persistence
**This technique has been deprecated.
T1574.010 Services File Permissions Weakness Stealth
Adversaries may execute their own malicious payloads by hijacking the binaries used by services.
T1222.002 Linux and Mac Permissions Defense Impairment
Adversaries may modify file or directory permissions/attributes to evade access control lists (ACLs) and access protected files.
Why these techniques?

The vulnerability allows a local attacker to pre-create directories used by Dragonfly with permissive permissions (0777) via a race condition with os.MkdirAll, enabling path interception (T1034) by placing malicious files, exploitation of file system permissions weaknesses (T1044) for unauthorized access/modification, and Linux/Mac file/directory permissions modification (T1222.002) to facilitate tampering, deletion, or forgery of files.

MITRE ATLAS TechniquesAI

MITRE ATLAS techniques

AML.T0010: AI Supply Chain CompromiseAML.T0024: Exfiltration via AI Inference API

CVEs Like This One

CVE-2025-59350Same product: Linuxfoundation Dragonfly
CVE-2025-59354Same product: Linuxfoundation Dragonfly
CVE-2025-59346Same product: Linuxfoundation Dragonfly
CVE-2026-24124Same product: Linuxfoundation Dragonfly
CVE-2025-59347Same product: Linuxfoundation Dragonfly
CVE-2025-59348Same product: Linuxfoundation Dragonfly
CVE-2025-59345Same product: Linuxfoundation Dragonfly
CVE-2025-59353Same product: Linuxfoundation Dragonfly
CVE-2025-59410Same product: Linuxfoundation Dragonfly
CVE-2025-59352Same product: Linuxfoundation Dragonfly

Affected Assets

linuxfoundation
dragonfly
≤ 2.1.0

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
  • AC-3 Access Enforcement
  • AC-6 Least Privilege
  • CM-6 Configuration Settings
Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 7 hardening rules · 4 OS baselines
Validate
Prove the fix (OWASP ASVS)

Mitigating Controls (NIST 800-53 r5) AI

prevent

Enforces access permissions on directories so an attacker-created path with overly broad rights cannot be used by DragonFly2 to enable file tampering.

prevent

Requires that DragonFly2-created directories receive only the minimum necessary permissions, directly blocking the CWE-732 weakness exploited by pre-creating a permissive directory.

prevent

Mandates secure baseline permission settings on file-system objects so DragonFly2 does not inherit attacker-chosen broad rights when a directory already exists.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.AA-05 full match
prevents

Directly requires defining, enforcing, and reviewing access permissions and least privilege on resources.

PR.PS-01 mostly match
prevents

Hardened baselines and configuration management explicitly include correct permission settings for critical resources.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

prevents

By requiring owners to determine and document the exact permissions needed for each asset, the control reduces the likelihood that default or overly permissive file and resource permissions will be left in place.

prevents

Documented provisioning and revocation procedures reduce the chance that critical resources retain overly permissive default or leftover permissions after personnel changes.

prevents

Documented authorization, expiry rules, and audit logging of privileged accounts make it harder for critical resources to retain overly permissive or stale permission assignments.

prevents

Requiring explicit configuration of access controls and permissions for files, applications and services counters the assignment of overly permissive default or incorrect file-system rights.

prevents

Enforcing differentiated permissions on the source-code repository and program listings stops the assignment of overly broad default or inherited permissions to critical resources.

prevents

By defining and enforcing secure permission settings in configuration templates, the control reduces the likelihood that critical resources receive incorrect permission assignments.

References