PYSEC-2026-2654
MLflow allows an unauthenticated remote attacker to read arbitrary files from the server's filesystem
Quick fix
PYSEC-2026-2654 — mlflow: upgrade to the fixed version with the command below.
pip install --upgrade 'mlflow>=3.10.0'Details
A vulnerability in the `_create_model_version()` handler of `mlflow/server/handlers.py` in mlflow/mlflow versions 3.9.0 and earlier allows an unauthenticated remote attacker to read arbitrary files from the server's filesystem. The issue arises when a `CreateModelVersion` request includes the tag `mlflow.prompt.is_prompt`, which bypasses source path validation. This enables an attacker to store an arbitrary local filesystem path as the model version source. The `get_model_version_artifact_handler()` function later uses this source to serve files without verifying the model version's prompt status, leading to a complete confidentiality compromise. This issue is fixed in version 3.10.0.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-2614[ADVISORY]
- https://github.com/mlflow/mlflow/commit/6e801f4259d96804c73107315b24cef0f6aa115a[WEB]
- https://github.com/mlflow/mlflow[PACKAGE]
- https://huntr.com/bounties/19380271-3fbf-4beb-987e-6fd7069c55e6[WEB]
- https://pypi.org/project/mlflow[PACKAGE]
- https://github.com/advisories/GHSA-42h5-h8qh-vv9v[ADVISORY]