Skip to content
OpenAdvisories
Medium · 6.3 CVE-2025-8406 EUVD-2025-32094GHSA-q92x-2x5g-h365PYSEC-2026-2071

Path Traversal in zenml-io/zenml

Published Oct 5, 2025 · Updated Oct 6, 2025 · Assigned by @huntr_ai

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 products

VendorProductAffectedFixed
zenml-io zenml-io/zenml unspecified – < 0.84.2 0.84.2

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI zenml >= 0.81.0, < 0.84.2 0.84.2 GHSA-q92x-2x5g-h365

References