CVE-2024-1558Lfprojects Mlflow
High 7.5 No auth needed
Follow: this CVE · Lfprojects · Lfprojects Mlflow We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.1% probability of exploitation in 30 days · percentile 67
- Auth required
- No
- Published
- Apr 16, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Mlflow.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | mlflow |
< 2.12.1 |
2.12.1 |
pip install "mlflow>=2.12.1" |
| PyPI | mlflow |
< 2.12.1 |
2.12.1 |
pip install "mlflow>=2.12.1" |
Per OSV / GitHub Advisories (GHSA-j62r-wxqq-f3gf, PYSEC-2026-1653). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| lfprojects | mlflow | < 2.12.1 |
Official sources
References
Links published by the sources. Open them with care.
- huntr.com Exploit Issue Tracking Third Party Advisory