{"id":"CVE-2025-8406","state":"PUBLISHED","title":"Path Traversal in zenml-io/zenml","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.","publishedAt":"2025-10-05T09:00:36.838Z","updatedAt":"2025-10-06T14:16:06.622Z","severity":{"score":6.3,"label":"Medium","version":"3.0","vector":"CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","source":"@huntr_ai"},"assigner":"@huntr_ai","products":["zenml-io zenml-io/zenml"],"affected":[{"vendor":"zenml-io","product":"zenml-io/zenml","versions":[{"version":"unspecified","status":"affected","lessThan":"0.84.2","versionType":"custom"}]}],"references":["https://huntr.com/bounties/a0880d64-9928-45bf-9663-2cd81582d9e7","https://github.com/zenml-io/zenml/commit/5d22a48d7bf6c7f10b748577c2be79cc7969d398"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:10:04.440Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/8xxx/CVE-2025-8406.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-8406","state":"PUBLISHED","datePublished":"2025-10-05T09:00:36.838Z","dateUpdated":"2025-10-06T14:16:06.622Z","assignerShortName":"@huntr_ai","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateReserved":"2025-07-31T06:59:58.714Z"},"containers":{"cna":{"title":"Path Traversal in zenml-io/zenml","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"zenml-io","product":"zenml-io/zenml","versions":[{"version":"unspecified","status":"affected","lessThan":"0.84.2","versionType":"custom"}]}],"references":[{"url":"https://huntr.com/bounties/a0880d64-9928-45bf-9663-2cd81582d9e7"},{"url":"https://github.com/zenml-io/zenml/commit/5d22a48d7bf6c7f10b748577c2be79cc7969d398"}],"metrics":[{"cvssV3_0":{"version":"3.0","attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","baseScore":6.3,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","type":"CWE","lang":"en","description":"CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"}]}],"providerMetadata":{"shortName":"@huntr_ai","orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateUpdated":"2025-10-05T09:00:36.838Z"},"source":{"advisory":"a0880d64-9928-45bf-9663-2cd81582d9e7","discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://huntr.com/bounties/a0880d64-9928-45bf-9663-2cd81582d9e7","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-10-06T14:11:45.677463Z","id":"CVE-2025-8406","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-10-06T14:16:06.622Z"}}]}}}