CVE-2024-8859 Path Traversal in mlflow/mlflow
Attackers can read arbitrary files if the dbfs service is configured and mounted, due to insufficient URL validation in MLflow.
- 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-8859?
CVE-2024-8859 is a high-severity path traversal vulnerability in Lfprojects Mlflow, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A path traversal vulnerability exists in mlflow/mlflow version 2.15.1. When users configure and use the dbfs service, concatenating the URL directly into the file protocol results in an arbitrary file read vulnerability. This issue occurs because only the path part of the URL is checked, while parts such as query and parameters are not handled. The vulnerability is triggered if the user has configured the dbfs service, and during usage, the service is mounted to a local directory.
Weakness: CWE-29
Which versions are affected by CVE-2024-8859?
4 open source packages ship an affected version, including mlflow. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
mlflow Bitnami | From 2.15.1 | 2.16.0 |
mlflow PyPI | All versions | 2.17.0rc0 |
mlflow PyPI | All versions | 2.17.0rc0 |
mlflow PyPI | All versions | 2.17.0rc0 |
Products include Lfprojects Mlflow.
How do I fix CVE-2024-8859?
Upgrade mlflow to a fixed version for your release line: 2.16.0 or 2.17.0rc0.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2024-8859 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-8859 exists.
Public exploit code: 1 Nuclei template.
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-8859, GHSA-4rqf-8pfm-p36r, PYSEC-2026-1638.