zenml
Affected
- introduced
0.81.0, fixed0.84.2(ecosystem)
Fixed versions
0.84.2
Fix
- Fixed version
0.84.2pip install --upgrade zenml==0.84.2
Advisory
Also known as: CVE-2025-8406, GHSA-q92x-2x5g-h365
ZenML is vulnerable to Path Traversal through its PathMaterializer class
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.
Medium Basis: CVSS v3 score 6.3, vector CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
0.81.0, fixed 0.84.2 (ecosystem)0.84.2
0.84.2pip install --upgrade zenml==0.84.2Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0