CVE-2025-8406: ZenML - Path Traversal
- Cve: CVE-2025-8406
- Name: ZenML - Path Traversal
- 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.
- Impact: Attackers can write arbitrary files, potentially leading to arbitrary command execution and full system compromise.
- Remediation: Update to the latest version of ZenML.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_write, remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.00365
- Epss percentile: 0.30993
- Assignee: [email protected]
- Published at: 2025-10-05T09:15:31Z
- Age in days: 415
- Modified at: 2026-10-19T16:10:00Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-8406
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://huntr.com/bounties/a0880d64-9928-45bf-9663-2cd81582d9e7 | nvd | 2025-10-05 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/zenml-io/zenml/commit/5d22a48d7bf6c7f10b748577c2be79cc7969d398 | nvd | Patch |
| https://huntr.com/bounties/a0880d64-9928-45bf-9663-2cd81582d9e7 | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| zenml:zenml | >= 0.83.1, < 0.84.2 | no | nvd | /v1/products/zenml/zenml |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| zenml-io/zenml | commit, fix, package | yes | /v1/repositories/zenml-io/zenml |
Index
- Repositories: 1
- Repositories high signal: 1
- Checked, none or zero: packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2025-10-05
- Exposed hosts: 13
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports