Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-0520: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in mlflow mlflow/mlflow

0
Critical
VulnerabilityCVE-2024-0520cvecve-2024-0520cwe-22
Published: Thu Jun 06 2024 (06/06/2024, 18:19:36 UTC)
Source: CVE Database V5
Vendor/Project: mlflow
Product: mlflow/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.

Technical Details

Data Version
5.1
Assigner Short Name
@huntr_ai
Date Reserved
2024-01-14T15:26:16.946Z
Cvss Version
3.0
State
PUBLISHED

Threat ID: 68ef9b21178f764e1f4709a2

Added to database: 10/15/2025, 1:01:21 PM

Last updated: 10/15/2025, 1:02:15 PM

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 enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats