{"cve":"CVE-2025-8406","nvd":{"published":"2025-10-05T09:15:31.767","modified":"2026-10-19T16:10:00.260","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8},"cwes":["CWE-22"],"references":["https://github.com/zenml-io/zenml/commit/5d22a48d7bf6c7f10b748577c2be79cc7969d398","https://huntr.com/bounties/a0880d64-9928-45bf-9663-2cd81582d9e7","https://huntr.com/bounties/a0880d64-9928-45bf-9663-2cd81582d9e7"],"products":["zenml:zenml"],"source":"nvd","synced_at":"2026-10-19T22:11:26.888974865+00:00"},"epss":{"cve":"CVE-2025-8406","score":0.00365,"percentile":0.30098,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-q92x-2x5g-h365","url":"https://osv.dev/vulnerability/GHSA-q92x-2x5g-h365","summary":"ZenML is vulnerable to Path Traversal through its `PathMaterializer` class","modified":"2026-07-07T17:57:32.714624077Z","packages":[{"ecosystem":"PyPI","name":"zenml","purl":"pkg:pypi/zenml","ranges":[">=0.81.0 <0.84.2"],"fixed":["0.84.2"]}]},{"id":"PYSEC-2026-2071","url":"https://osv.dev/vulnerability/PYSEC-2026-2071","summary":"ZenML is vulnerable to Path Traversal through its `PathMaterializer` class","modified":"2026-07-07T17:48:17.160627575Z","packages":[{"ecosystem":"PyPI","name":"zenml","purl":"pkg:pypi/zenml","ranges":[">=0.81.0 <0.84.2"],"fixed":["0.84.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}