PyPA Advisory Database
PYSEC-2026-1640
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | mlflow | All versions before 2.22.4 (fixed in 2.22.4) From 3.0.0rc0 before 3.0.0 (fixed in 3.0.0) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-11201
- https://github.com/B-Step62/mlflow/commit/2e02bc7bb70df243e6eb792689d9b8eba0013161
- https://github.com/mlflow/mlflow/commit/5f98ff98659dddb188591ecf6b10a4e276a0dba7
- https://github.com/mlflow/mlflow/commit/e7dc0574fa3459e0003cfeb68d4e4a625491f03d
- https://github.com/mlflow/mlflow
- https://www.zerodayinitiative.com/advisories/ZDI-25-931
- https://pypi.org/project/mlflow
- https://github.com/advisories/GHSA-5cvj-7rg6-jggj