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

- Severity: High 8.1 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.86%, higher than 59% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-04-16T00:00:13.649Z
- Modified: 2026-09-08T08:48:13.216Z
- Also known as: GHSA-5mvj-wmgj-7q8c, BIT-MLFLOW-2024-1560, PYSEC-2026-1641
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntr_ai

## 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.

(As written by CVE List.)

## Affected

- mlflow mlflow/mlflow: from unspecified up to latest
- mlflow mlflow: before 2.9.2
- mlflow (PyPI): up to 2.9.2
- lfprojects mlflow: up to 2.9.2
- mlflow (Bitnami): before 2.12.2

## Every score

- @huntr_ai: CVSS:3.0 8.1 High `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- GitHub: CVSS:3.0 8.1 High `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- PyPA Advisory Database: CVSS:3.0 8.1 High `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://huntr.com/bounties/4a34259c-3c8f-4872-b178-f27fbc876b98> (exploit, advisory, issue-tracking, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-1560> (advisory, web)
- <https://github.com/mlflow/mlflow> (package)
- <https://pypi.org/project/mlflow> (package)
- <https://github.com/advisories/GHSA-5mvj-wmgj-7q8c> (advisory)

## Sources

- CVE List: [CVE-2024-1560](https://www.cve.org/CVERecord?id=CVE-2024-1560), CVE Terms of Use, modified 2024-08-09
- GitHub Advisory Database: [GHSA-5mvj-wmgj-7q8c](https://github.com/advisories/GHSA-5mvj-wmgj-7q8c), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2024-1560](https://nvd.nist.gov/vuln/detail/CVE-2024-1560), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1641](https://osv.dev/vulnerability/PYSEC-2026-1641), CC-BY-4.0, modified 2026-07-07
- Bitnami Vulnerability Database: [BIT-MLFLOW-2024-1560](https://osv.dev/vulnerability/BIT-MLFLOW-2024-1560), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2024-1560 · Whole record: https://cve.day/CVE-2024-1560.json · Rebuilt by cve.day 2026-11-25T22:58:39.233Z
