NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2025-8406: ZenML is vulnerable to Path Traversal through its `PathMaterializer` class

mediumCVSS 3.0 6.3GHSA-q92x-2x5g-h365

ZenML version 0.83.1 is affected by a path traversal vulnerability in the PathMaterializer class. The load function uses ispathwithindirectory 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.

Published Oct 5, 2025 · Updated Oct 7, 2025

Affected packages

zenml

Ecosystem
PyPI
Affected
>= 0.81.0, < 0.84.2
Fixed in
0.84.2
Check
pip show zenml

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More PyPI vulnerabilities

All PyPI entries