{"id":"CVE-2025-8406","published":"2025-10-05T09:00:36Z","modified":"2025-10-06T14:16:06Z","title":"Path Traversal in zenml-io/zenml","vendor":"zenml-io","product":"zenml-io/zenml","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00365,"percentile":0.3116,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://huntr.com/bounties/a0880d64-9928-45bf-9663-2cd81582d9e7","tags":[]},{"url":"https://github.com/zenml-io/zenml/commit/5d22a48d7bf6c7f10b748577c2be79cc7969d398","tags":[]}],"priority":{"score":10.6,"factors":[{"name":"EPSS percentile","points":6.23},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"zenml-io","affectedVersions":[{"vendor":"zenml-io","product":"zenml-io/zenml","versions":[">= unspecified, < 0.84.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-10-06T14:11:45.677463Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"zenml","vulnerableRanges":[">=0.81.0, <0.84.2"],"patched":["0.84.2"],"from":["GHSA-q92x-2x5g-h365","PYSEC-2026-2071"],"provenance":"source"}],"summary":{"text":"A path traversal flaw in the PathMaterializer class of ZenML (product zenml-io/zenml, version 0.83.1) affects the load function, which validates files during data.tar.gz extraction using a check that fails to detect symbolic and hard links. An attacker with local access, who has high privileges and needs a user to interact with the affected process, could write arbitrary files, potentially achieving arbitrary command execution by overwriting critical files.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:00:59Z"},"euvd":{"id":"EUVD-2025-32094","exploited":false,"provenance":"source"}}