CVE-2025-8406
HIGH 7.8CVSS 3.1ZenML is vulnerable to Path Traversal through its `PathMaterializer` class
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.
- Published
- 5 Oct 2025
- Last modified
- 19 Oct 2026
- Assigned by
- security@huntr.dev
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-q92x-2x5g-h365PYSEC-2026-2071
- Sources
- NVDJSONOSV GHSA-q92x-2x5g-h365JSONOSV PYSEC-2026-2071JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | MEDIUM 6.3 | CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | MEDIUM 6.3 | CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.0 | MEDIUM 6.3 | CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | zenml | zenmlcpe:2.3:a:zenml:zenml:*:*:*:*:*:*:*:* |
>= 0.83.1, < 0.84.2 | 0.84.2 |
| OSV | PyPI | zenml | >= 0.81.0, < 0.84.2 | 0.84.2 |
References
- https://github.com/zenml-io/zenml/commit/5d22a48d7bf6c7f10b748577c2be79cc7969d398 · Patch, WEB
- https://huntr.com/bounties/a0880d64-9928-45bf-9663-2cd81582d9e7 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-8406 · ADVISORY
- https://github.com/zenml-io/zenml · PACKAGE
- https://pypi.org/project/zenml · PACKAGE
- https://github.com/advisories/GHSA-q92x-2x5g-h365 · ADVISORY
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 5 Oct 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 5 Oct 2025)