6.3medium
Path Traversal in zenml-io/zenml
- Severity
- 6.3medium CVSS:3.0 by @huntr_ai
- Exploit likelihood
- 0.33% (higher than 19% of CVEs)
- Published
- Last changed
- Assigned by
- @huntr_ai
- Also known as
- GHSA-q92x-2x5g-h365PYSEC-2026-2071
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| zenml-io zenml-io/zenml | from unspecified before 0.84.2 | CVE List |
| zenml (PyPI) | from 0.81.0 before 0.84.2 | GitHub Advisory Database, PyPA Advisory Database |
| zenml zenml | from 0.83.1 before 0.84.2 | NVD |
All scores
| @huntr_ai | 6.3medium CVSS:3.0 | CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 6.3medium CVSS:3.0 | CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| PyPA Advisory Database | 6.3medium CVSS:3.0 | CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
La versión 0.83.1 de ZenML está afectada por una vulnerabilidad de salto de ruta en la clase PathMaterializer. La función load utiliza is_path_within_directory para validar archivos durante la extracción de data.tar.gz, lo que no logra detectar eficazmente enlaces simbólicos y duros. Esta vulnerabilidad puede conducir a escrituras de archivos arbitrarias, lo que podría resultar en la ejecución de comandos arbitrarios si se sobrescriben archivos críticos.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-8406 changed 2025-10-06 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-q92x-2x5g-h365 changed 2026-07-07 | CC-BY-4.0 |
| NVD | CVE-2025-8406 changed 2026-10-19 | Public domain |
| PyPA Advisory Database | PYSEC-2026-2071 changed 2026-07-07 | CC-BY-4.0 |