Skip to content
MLflowGHSA-5mvj-wmgj-7q8c

mlflow vulnerable to Path Traversal

High8.1CVE-2024-1560 · Published Apr 16, 2024 · updated Jul 7, 2026

A path traversal vulnerability exists in the mlflow/mlflow repository, specifically within the artifact deletion functionality. Attackers can bypass path validation by exploiting the double decoding process in the `_delete_artifact_mlflow_artifacts` handler and `local_file_uri_to_path` function, allowing for the deletion of arbitrary directories on the server's filesystem. This vulnerability is due to an extra unquote operation in the `delete_artifacts` function of `local_artifact_repo.py`, which fails to properly sanitize user-supplied paths. The issue is present up to version 2.9.2, despite attempts to fix a similar issue in CVE-2023-6831.

GitHub advisory

Affected versions

PackageAffectedFixed in
mlflow
PyPI
<= 2.9.2No fix yet
Details and references
CVSS 3.0
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Severity from
GitHub (reviewed advisory)
Weakness
CWE-22
Also known as
BIT-mlflow-2024-1560, CVE-2024-1560, PYSEC-2026-1641

More MLflow advisories

All MLflow
Advisory
MLflow has a Local File Read/Path Traversal bypass
High7.5May 16, 2024
mlflow vulnerable to Path Traversal
Critical9.3Apr 16, 2024
mlflow vulnerable to Path Traversal
High7.5Apr 16, 2024
mlflow vulnerable to Path Traversal
High7.5Apr 16, 2024
mlflow vulnerable to Path Traversal
High7.5Apr 16, 2024
mlflow Path Traversal vulnerability
High7.5Apr 16, 2024

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.