CVE-2025-8406 Path Traversal in zenml-io/zenml
HighCVSS 7.8
EPSS 0.37%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
Description
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.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi zenml(PyPI) | = 0.81.0; = 0.82.0; = 0.82.1; = 0.83.0 +4 more | 0.84.2 | Fixed |
| ZenML | >= 0.83.1, < 0.84.2 | 0.84.2 | Fixed |
| zenml-io/zenml | < 0.84.2 | 0.84.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi zenml(PyPI) | >= 0.81.0, < 0.84.2 | 0.84.2 |
| pypi zenml(PyPI) | = 0.81.0 | No fix listed |
| pypi zenml(PyPI) | = 0.82.0 | No fix listed |
| pypi zenml(PyPI) | = 0.82.1 | No fix listed |
| pypi zenml(PyPI) | = 0.83.0 | No fix listed |
| pypi zenml(PyPI) | = 0.83.1 | No fix listed |
| pypi zenml(PyPI) | = 0.84.0 | No fix listed |
| pypi zenml(PyPI) | = 0.84.1 | No fix listed |
| zenml-io/zenml | < 0.84.2 | 0.84.2 |
| ZenML | >= 0.83.1, < 0.84.2 | 0.84.2 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com product
- huntr.com exploit third-party-advisory
- pypi.org product
- github.com vendor-advisory