CVE-2025-8406
October 05, 2025
ZenML version 0.83.1 is affected by a path traversal vulnerability in the "PathMaterializer" class. The "load" function uses "is_path_within_directory" to validate files during "data.tar.gz" extraction, which fails to effectively detect symbolic and hard links. This vulnerability can lead to arbitrary file writes, potentially resulting in arbitrary command execution if critical files are overwritten.
Affected Packages
zenml (PYTHON):
Affected version(s) >=0.81.0 <0.84.2Fix Suggestion:
Update to version 0.84.2Related ResourcesĀ (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.4
Attack Vector
LOCAL
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
HIGH
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.8
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
EPSS
Base Score:
0.07