Advisory

PYSEC-2026-2071

Also known as: CVE-2025-8406, GHSA-q92x-2x5g-h365

Summary

ZenML is vulnerable to Path Traversal through its PathMaterializer class

Details

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.

Severity

Medium Basis: CVSS v3 score 6.3, vector CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2026-07-07 16:03 UTC
Modified
2026-07-07 17:48 UTC

Affected packages and fixes

zenml

PyPI · All systems

Affected

  • introduced 0.81.0, fixed 0.84.2 (ecosystem)

Fixed versions

0.84.2

Fix

  • Fixed version 0.84.2
    pip install --upgrade zenml==0.84.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences