Skip to main content

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

0
Critical
Published: 10/13/2024 (10/13/2024, 19:12:37 UTC)
Source: GCVE Database
Product: mlflow

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.

Affected software

Bitnamimore threats →ghsa
mlflow
pkg:bitnami/mlflow
Affected versions
<2.9.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

Technical Details

Gcve Source
db.gcve.eu
Osv Id
BIT-mlflow-2024-0520
Osv Schema Version
1.5.0
Aliases
["CVE-2024-0520"]
Ecosystems
["Bitnami"]
Database Specific Severity
Critical
State
PUBLISHED

Threat ID: 6aa3299291cc7f3848d1b788

Added to database: 09/10/2026, 22:05:06 UTC

Last updated: 09/10/2026, 22:05:24 UTC

Views: 1

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses