{"id":"CVE-2025-8406","aliases":["CVE-2025-8406","GHSA-q92x-2x5g-h365","PYSEC-2026-2071"],"related":[],"kind":"vulnerability","state":"published","title":"Path Traversal in zenml-io/zenml","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"La versión 0.83.1 de ZenML está afectada por una vulnerabilidad de salto de ruta en la clase PathMaterializer. La función load utiliza is_path_within_directory para validar archivos durante la extracción de data.tar.gz, lo que no logra detectar eficazmente enlaces simbólicos y duros. Esta vulnerabilidad puede conducir a escrituras de archivos arbitrarias, lo que podría resultar en la ejecución de comandos arbitrarios si se sobrescriben archivos críticos.","source":"nvd"}],"published":"2025-10-05T09:00:36.838Z","modified":"2026-10-19T16:10:00.260Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","score":6.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","score":6.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS: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,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","score":6.3,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"0.84.2","status":"affected"}],"vendor":"zenml-io","product":"zenml-io/zenml","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0.81.0","status":"affected","fixed":"0.84.2"}],"ecosystem":"PyPI","package":"zenml","purl":"pkg:pypi/zenml","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"0.83.1","fixed":"0.84.2"}],"vendor":"zenml","product":"zenml","cpe":"cpe:2.3:a:zenml:zenml:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0.81.0","status":"affected","fixed":"0.84.2"}],"ecosystem":"PyPI","package":"zenml","purl":"pkg:pypi/zenml","source":"pysec"}],"references":[{"url":"https://huntr.com/bounties/a0880d64-9928-45bf-9663-2cd81582d9e7","tags":["exploit","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/zenml-io/zenml/commit/5d22a48d7bf6c7f10b748577c2be79cc7969d398","tags":["patch","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-8406","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/zenml-io/zenml","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/zenml","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-q92x-2x5g-h365","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2025-10-06T14:11:45.677Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-8406","url":"https://www.cve.org/CVERecord?id=CVE-2025-8406","licence":"CVE Terms of Use","modified":"2025-10-06T14:16:06.622Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-q92x-2x5g-h365","url":"https://github.com/advisories/GHSA-q92x-2x5g-h365","licence":"CC-BY-4.0","modified":"2026-07-07T17:57:32.714Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-8406","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-8406","licence":"Public domain","modified":"2026-10-19T16:10:00.260Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2071","url":"https://osv.dev/vulnerability/PYSEC-2026-2071","licence":"CC-BY-4.0","modified":"2026-07-07T17:48:17.160Z"}],"updatedAt":"2026-11-25T22:59:05.536Z","epss":{"score":0.00334,"percentile":0.19265,"date":"2026-11-30T12:00:22.000Z"}}