ZenML version 0.83.1 is affected by a path traversal vulnerability in the `PathMaterializer` class.
Date: 2025-10
Affected: zenml/zenml
Attack vector: path-traversal
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2025-8406
CWE: CWE-22
CVSS: 7.8 (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)

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.


Mitigations:

Architectural layers (MAESTRO):