CVE-2025-8406 Details
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.
A path traversal vulnerability has been identified in ZenML version 0.83.1 within the PathMaterializer class. The issue arises in the load function, which validates files during the extraction of data.tar.gz archives. The validation process fails to properly detect symbolic and hard links, allowing for arbitrary file writes. This could lead to the execution of arbitrary commands if critical files are overwritten.
Users can upgrade to ZenML version 0.84.2 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 6, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://huntr.com/bounties/a0880d64-9928-45bf-9663-2cd81582d9e7 | CISA-ADP | ExploitThird Party Advisory |
| https://github.com/zenml-io/zenml/commit/5d22a48d7bf6c7f10b748577c2be79cc7969d398 | [email protected] | Patch |
| https://huntr.com/bounties/a0880d64-9928-45bf-9663-2cd81582d9e7 | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| zenml zenml | >= 0.83.1, < 0.84.2 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 30, 2025 | Initial Analysis | [email protected] |
| Oct 6, 2025 | CVE Modified | CISA-ADP |
| Oct 5, 2025 | New CVE Received | [email protected] |