CVE-2025-8406: ZenML version 0.83.1 is affected by a path traversal vulnerability in the `PathMaterializer` class
CVE-2025-8406 is a high-severity flaw (CVSS 7.8) affecting zenml. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.8 (High) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.4% (top 70%) |
| CISA exploited list | No |
| Weakness | CWE-22 |
| Published | 2025-10-05 |
| Last modified | 2026-10-19 |
Last updated 2026-10-19 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-8406?
zenml: upgrade to 0.84.2. Exact commands for each OS are on this page.
Is CVE-2025-8406 being exploited?
CVE-2025-8406 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-8406 affect?
CVE-2025-8406 affects zenml. Severity is high (CVSS 7.8). 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 sym
How urgent is CVE-2025-8406?
Priority 40/100. High severity; Public exploit reference
Related CVEs
- CVE-2024-9340 HIGH 7.5 UPGRADE A Denial of Service (DoS) vulnerability in zenml-io/zenml version 0.66.0 allows unauthenticated attackers to c
- CVE-2024-5062 MEDIUM 6.1 UPGRADE A reflected Cross-Site Scripting (XSS) vulnerability was identified in zenml-io/zenml version 0.57.1
- CVE-2024-4680 HIGH 8.8 DOWNGRADE A vulnerability in zenml-io/zenml version 0.56.3 allows attackers to reuse old session credentials or session
- CVE-2024-4311 MEDIUM 5.4 DOWNGRADE zenml-io/zenml version 0.56.4 is vulnerable to an account takeover due to the lack of rate-limiting in the pas
- CVE-2024-2383 MEDIUM 6.1 UPGRADE A clickjacking vulnerability exists in zenml-io/zenml versions up to and including 0.55.5 due to the applicati