Local File Inclusion in mlflow
High7.5CVE-2024-2928 · Published Jun 6, 2024 · updated Apr 8, 2025
A Local File Inclusion (LFI) vulnerability was identified in mlflow/mlflow, specifically in version 2.9.2, which was fixed in version 2.11.3. This vulnerability arises from the application's failure to properly validate URI fragments for directory traversal sequences such as '../'. An attacker can exploit this flaw by manipulating the fragment part of the URI to read arbitrary files on the local file system, including sensitive files like '/etc/passwd'. The vulnerability is a bypass to a previous patch that only addressed similar manipulation within the URI's query string, highlighting the need for comprehensive validation of all parts of a URI to prevent LFI attacks.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| mlflow PyPI | < 2.11.3 | 2.11.3 |
Details and references
More MLflow advisories
All MLflow| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Jun 62024 | Undefined Behavior in mlflow | Medium5.4 | 2.11.3 |
| Jun 62024 | Remote code execution in mlflow | Critical10.0 | 2.9.0 |
| Jun 42024 | MLFlow unsafe deserialization | High8.8 | No fix yet |
| Jun 42024 | MLFlow unsafe deserialization | High8.8 | No fix yet |
| Jun 42024 | MLFlow unsafe deserialization | High8.8 | No fix yet |
| Jun 42024 | MLFlow improper input validation | High8.8 | No fix yet |