CVE-2024-3573 Local File Inclusion (LFI) via Scheme Confusion in mlflow/mlflow
Attackers can read arbitrary files on the server by exploiting improper URI parsing in MLflow, leading to sensitive data disclosure.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-3573?
CVE-2024-3573 is a critical path traversal vulnerability in Lfprojects Mlflow, published on 16 Apr 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
mlflow/mlflow is vulnerable to Local File Inclusion (LFI) due to improper parsing of URIs, allowing attackers to bypass checks and read arbitrary files on the system. The issue arises from the 'is_local_uri' function's failure to properly handle URIs with empty or 'file' schemes, leading to the misclassification of URIs as non-local. Attackers can exploit this by crafting malicious model versions with specially crafted 'source' parameters, enabling the reading of sensitive files within at least two directory levels from the server's root.
Which versions are affected by CVE-2024-3573?
4 open source packages ship an affected version, including mlflow. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
mlflow Bitnami | All versions | 2.10.0 |
mlflow PyPI | All versions | 2.10.0 |
mlflow PyPI | All versions | 2.10.0 |
mlflow PyPI | All versions | 2.10.0 |
Products include Lfprojects Mlflow.
How do I fix CVE-2024-3573?
Upgrade mlflow to 2.10.0 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2024-3573 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-3573 exists.
Other vulnerabilities in Lfprojects Mlflow
- CVE-2026-64849 MLflow Server-Side Request Forgery
- CVE-2025-15379 Command Injection in mlflow/mlflow
- CVE-2024-0520 Remote Code Execution due to Full Controlled File Write in mlflow/mlflow
- CVE-2023-6977 Path Traversal: '\..\filename'
- CVE-2023-6709 Improper Neutralization of Special Elements Used in a Template Engine in mlflow/mlflow
Sources
Also known as BIT-mlflow-2024-3573, GHSA-hq88-wg7q-gp4g, PYSEC-2024-243.