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, PYSEC-2026-2071
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: The source's own band: MODERATE
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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0