Skip to content
HighVulnerability

CVE-2024-1558: MLflow path traversal in model version creation via source parameter

Identifier
CVE-2024-1558
Published
Record updated
View JSON
Affected
  • mlflow <= 2.9.2
Fixed in
2.12.1
  • released April 16, 2024, 1 day after disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.9%

Summary

A path traversal flaw in the `_create_model_version()` function in `server/handlers.py` of the mlflow/mlflow repository stems from improper validation of the `source` parameter. A crafted `source` can bypass the checks in `_validate_non_local_source_contains_relative_paths(source)`, letting an attacker read arbitrary files on the server through the `/model-versions/get-artifact` handler.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.