Live threats

All CVEs / Lfprojects

CVE-2024-0520Lfprojects Mlflow

High 8.8 No auth needed

Priority
68
CVSS 3.1
8.8
EPSS
3.8%
probability of exploitation in 30 days · percentile 91
Auth required
No
Published
Jun 6, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

A vulnerability in mlflow/mlflow version 8.2.1 allows for remote code execution due to improper neutralization of special elements used in an OS command ('Command Injection') within the `mlflow.data.http_dataset_source.py` module. Specifically, when loading a dataset from a source URL with an HTTP scheme, the filename extracted from the `Content-Disposition` header or the URL path is used to generate the final file path without proper sanitization. This flaw enables an attacker to control the file path fully by utilizing path traversal or absolute path techniques, such as '../../tmp/poc.txt' or '/tmp/poc.txt', leading to arbitrary file write. Exploiting this vulnerability could allow a malicious user to execute commands on the vulnerable machine, potentially gaining access to data and model information. The issue is fixed in version 2.9.0.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mlflow.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI mlflow < 2.9.0 2.9.0 pip install "mlflow>=2.9.0"
PyPI mlflow < 2.9.0 2.9.0 pip install "mlflow>=2.9.0"

Per OSV / GitHub Advisories (GHSA-5q6c-ffvg-xcm9, PYSEC-2024-239). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
lfprojectsmlflow< 2.9.0

Official sources

References

Links published by the sources. Open them with care.