CVE-2024-6838 Uncontrolled Resource Consumption in mlflow/mlflow

Medium 5.3 Published Updated

Attackers can cause MLflow UI unresponsiveness by creating experiments with excessively long names or artifact locations, leading to denial of service.

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-6838?

CVE-2024-6838 is a medium-severity denial of service 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

In mlflow/mlflow version v2.13.2, a vulnerability exists that allows the creation or renaming of an experiment with a large number of integers in its name due to the lack of a limit on the experiment name. This can cause the MLflow UI panel to become unresponsive, leading to a potential denial of service. Additionally, there is no character limit in the `artifact_location` parameter while creating the experiment.

Weakness: CWE-400

Which versions are affected by CVE-2024-6838?

4 open source packages ship an affected version, including mlflow. It affects 1 product.

PackageAffectedFixed in
mlflow BitnamiFrom 2.13.22.14.0
mlflow PyPIAll versions to 2.13.2None
mlflow PyPIAll versions to 2.13.2None
mlflow PyPIAll versions to 2.13.2None

Products include Lfprojects Mlflow.

How do I fix CVE-2024-6838?

Upgrade mlflow to 2.14.0 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-6838 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6838 exists.

All Lfprojects Mlflow vulnerabilities

Sources

Also known as BIT-mlflow-2024-6838, GHSA-q3gw-8236-5jw4, PYSEC-2026-1658.

Is CVE-2024-6838 in your software?

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

Check your SBOMs for free