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

- Severity: High 7.5 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- 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): 1.15%, higher than 67% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-04-16T00:00:14.626Z
- Modified: 2026-09-08T08:48:13.367Z
- Also known as: GHSA-j62r-wxqq-f3gf, BIT-MLFLOW-2024-1558, PYSEC-2026-1653
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: @huntr_ai

## Description

A path traversal vulnerability exists in the `_create_model_version()` function within `server/handlers.py` of the mlflow/mlflow repository, due to improper validation of the `source` parameter. Attackers can exploit this vulnerability by crafting a `source` parameter that bypasses the `_validate_non_local_source_contains_relative_paths(source)` function's checks, allowing for arbitrary file read access on the server. The issue arises from the handling of unquoted URL characters and the subsequent misuse of the original `source` value for model version creation, leading to the exposure of sensitive files when interacting with the `/model-versions/get-artifact` handler.

(As written by CVE List.)

## Affected

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

## Every score

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

## References

- <https://huntr.com/bounties/7f4dbcc5-b6b3-43dd-b310-e2d0556a8081> (exploit, advisory, issue-tracking, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-1558> (advisory, web)
- <https://github.com/mlflow/mlflow> (package)
- <https://pypi.org/project/mlflow> (package)
- <https://github.com/advisories/GHSA-j62r-wxqq-f3gf> (advisory)

## Sources

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

---

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