CVE-2024-1558 json
Path Traversal Vulnerability in mlflow/mlflow
published 2024-04-16 2 y ago modified 2026-09-08 2 mo ago also BIT-mlflow-2024-1558 , EUVD-2024-1230 , GHSA-j62r-wxqq-f3gf , PYSEC-2026-1653
- cvss
- 7.5
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 58%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi mlflow 2.12.1
- bitnami mlflow 2.12.1
- lfprojects mlflow 2.12.1
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.86% chance of exploitation in the next 30 days, higher than 58% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- huntr.com https://huntr.com/bounties/7f4dbcc5-b6b3-43dd-b310-e2d0556a8081 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | mlflow | <2.12.1 |
2.12.1 |
| bitnami | mlflow | <2.12.1 |
2.12.1 |
Affected products
- mlflow mlflow/mlflow
- lfprojects mlflow
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
huntr.com
/bounties/7f4dbcc5-b6b3-43dd-b310-e2d0556a8081
web, exploit, issue-tracking, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-1558
advisory, web
-
github.com
/mlflow/mlflow
package
-
pypi.org
/project/mlflow
package
-
github.com
/advisories/GHSA-j62r-wxqq-f3gf
advisory
Sources
- CVE List CVE-2024-1558
- GitHub Advisory GHSA-j62r-wxqq-f3gf
- NVD CVE-2024-1558
- OSV BIT-mlflow-2024-1558
- OSV PYSEC-2026-1653
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.