10

CVE-2024-0520: Remote Code Execution due to Full Controlled File Write in mlflow/mlflow

Modified
AliasesGHSA-5q6c-ffvg-xcm9BIT-mlflow-2024-0520PYSEC-2024-239
Published 06-06-2024Last modified 15-10-2025

Vulnerability summary

CVE-2024-0520 is a critical (CVSS 10.0) vulnerability in lfprojects mlflow. EPSS estimates a 2.38% chance of exploitation in the next 30 days, higher than 84.4% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (reference, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
10.0/10
010
Critical · v3.0 (CVE.org)
EPSS score
2.38%
0%100%
Low · -0.02 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Timeline

  1. 06-06-2024
    PublishedVulnerability first disclosed.
  2. 15-10-2025
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

2.38%

Chance of exploitation in the next 30 days

Percentile

84%

Versus all other CVEs

30-day change

Decrease -0.02 pp

From 2.40% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (huntr.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Lfprojects1 product
Mlflow1 product
PyPI1 product
  • mlflow< 400c226953b4568f4361bc0a0c223511652c2b9d | < 2.9.0

3 vendors · 3 products

References

6 links