CVE-2024-2083: Directory traversal in zenml
A directory traversal vulnerability exists in the zenml-io/zenml repository, specifically within the /api/v1/steps endpoint. Attackers can exploit this vulnerability by manipulating the 'logs' URI path in the request to fetch arbitrary file content, bypassing intended access restrictions.
Published Apr 16, 2024 · Updated May 12, 2025
Affected packages
zenml
- Ecosystem
- PyPI
- Affected
- < 0.55.5
- Fixed in
- 0.55.5
- Check
pip show zenml
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A directory traversal vulnerability exists in the zenml-io/zenml repository, specifically within the /api/v1/steps endpoint. Attackers can exploit this vulnerability by manipulating the 'logs' URI path in the request to fetch arbitrary file content, bypassing intended access restrictions. The vulnerability arises due to the lack of validation for directory traversal patterns, allowing attackers to access files outside of the restricted directory.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-2083
- https://github.com/zenml-io/zenml/commit/00e934f33a243a554f5f65b80eefd5ea5117367b
- https://huntr.com/bounties/f24b2216-6a4b-42a1-becb-9b47e6cf117f
- https://github.com/pypa/advisory-database/tree/main/vulns/zenml/PYSEC-2024-247.yaml
- https://github.com/advisories/GHSA-6h3f-43vq-53hj
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
