CVE-2024-8859 Path Traversal in mlflow/mlflow

High 7.5 Published Updated

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.

PackageAffectedFixed in
mlflow BitnamiFrom 2.15.12.16.0
mlflow PyPIAll versions2.17.0rc0
mlflow PyPIAll versions2.17.0rc0
mlflow PyPIAll versions2.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.

All Lfprojects Mlflow vulnerabilities

Sources

Also known as BIT-mlflow-2024-8859, GHSA-4rqf-8pfm-p36r, PYSEC-2026-1638.

Is CVE-2024-8859 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free