VDB
KO
HIGH 8.1

GHSA-5cvj-7rg6-jggj

MLflow Tracking Server Model Creation Directory Traversal Remote Code Execution Vulnerability

Details

MLflow Tracking Server Model Creation Directory Traversal Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of MLflow Tracking Server. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the handling of model file paths. The issue results from the lack of proper validation of a user-supplied path prior to using it in file operations. An attacker can leverage this vulnerability to execute code in the context of the service account. Was ZDI-CAN-26921.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI / mlflow
Introduced in: 3.0.0rc0 Fixed in: 3.0.0
Fix pip install --upgrade 'mlflow>=3.0.0'
PyPI / mlflow
Introduced in: 0 Fixed in: 2.22.4
Fix pip install --upgrade 'mlflow>=2.22.4'

References