Vulnerability · Published Oct 5, 2025 · Assigned by @huntr_ai

CVE-2025-8406Path Traversal in zenml-io/zenml

Medium 6.3

In plain English

A medium-severity path traversal in zenml-io/zenml from zenml-io. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.0)6.3Medium
Exploit odds (30 days)0.4%top 69.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIzenml0.84.2GHSA-q92x-2x5g-h365
PyPIzenml0.84.2PYSEC-2026-2071

Affected products (as reported)

VendorProductVersions
zenml-io zenml-io/zenml unspecified – before 0.84.2

Weakness: CWE-22 · Vector: CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H

References