CVE-2025-8406 json
Path Traversal in zenml-io/zenml
published 2025-10-05 13 mo ago modified 2026-10-19 20 d ago also GHSA-q92x-2x5g-h365 , PYSEC-2026-2071 , EUVD-2025-32094
- cvss
- 6.3
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 30%
- public exploits
- 0
- none known
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.
Patch / fix
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 13 mo ago
Exploit prediction
0.36% chance of exploitation in the next 30 days, higher than 30% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- huntr.com https://huntr.com/bounties/a0880d64-9928-45bf-9663-2cd81582d9e7 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 6.3 | CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 3.0 | 6.3 | CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H |
| OSV | 3.0 | 6.3 | CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | zenml | >=0.81.0, <0.84.2 |
0.84.2 |
Affected products
- zenml-io zenml-io/zenml
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/zenml-io/zenml/commit/5d22a48d7bf6c7f10b748577c2be79cc7969d398
web, patch
-
huntr.com
/bounties/a0880d64-9928-45bf-9663-2cd81582d9e7
exploit, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-8406
advisory
-
github.com
/zenml-io/zenml
package
-
pypi.org
/project/zenml
package
-
github.com
/advisories/GHSA-q92x-2x5g-h365
advisory
Sources
- CVE List CVE-2025-8406
- GitHub Advisory GHSA-q92x-2x5g-h365
- NVD CVE-2025-8406
- OSV PYSEC-2026-2071
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.