CVE-2025-8406

Path Traversal in zenml-io/zenml

State
Published
Severity
6.3 Medium
Published
Oct 5, 2025
Updated
Oct 6, 2025
Reserved
Jul 31, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.06.3 MediumCVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H@huntr_ai

Weaknesses

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Affected Products

ProductVersions
zenml-io/zenmlzenml-io
  • before 0.84.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.