CVE-2024-6838 Uncontrolled Resource Consumption in mlflow/mlflow
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.
| Package | Affected | Fixed in |
|---|---|---|
mlflow Bitnami | From 2.13.2 | 2.14.0 |
mlflow PyPI | All versions to 2.13.2 | None |
mlflow PyPI | All versions to 2.13.2 | None |
mlflow PyPI | All versions to 2.13.2 | None |
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.
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-6838, GHSA-q3gw-8236-5jw4, PYSEC-2026-1658.