CVE-2024-1594: mlflow vulnerable to Path Traversal
MLflow 2.9.2 and earlier accept a '#' fragment in the artifact_location of a new experiment, which lets an attacker read arbitrary files in the server process's context. It is a sibling of CVE-2023-6909 that uses another URI component. The advisory lists no patched version.
Published Apr 16, 2024 · Analysis Nov 2, 2026
What an attacker can do
When a client creates an experiment, MLflow checks the artifact_location URI. The advisory says the check does not cover the fragment, the part after '#'. A fragment that holds a filesystem path survives validation. When the URI is later turned into a local path, the fragment path is used, and artifact reads then return files from anywhere the server can read.
The code the reporter points to is in mlflow/utils/uri.py. The CVSS vector (7.5) shows network access, no privileges, no interaction and a confidentiality loss only. Targets include SSH keys, cloud credentials and config files on the tracking host.
The same mechanism was later reported against model versions and fixed for good in 2.12.1 under CVE-2024-3848. The fix commit for that CVE rejects an artifact_location with a fragment in _create_experiment(). Servers that took no update remain exposed here.
Who is affected
The pip package mlflow at 2.9.2 and earlier. Servers that accept experiment creation from untrusted clients are exposed. Check the installed version:
pip show mlflowmlflow
- Ecosystem
- PyPI
- Affected
- <= 2.9.2
- Fixed in
- No patched version yet
- Check
pip show mlflow
How to fix it
This advisory lists no patched version. The related fix for CVE-2024-3848 in MLflow 2.12.1 rejects an artifact_location that includes a fragment part, so upgrading to 2.12.1 or later is the practical step, though this advisory does not confirm it.
pip install --upgrade "mlflow>=2.12.1"Until then, block untrusted access to the tracking server and review existing experiments for odd artifact locations.
How to tell if you were hit
Query the experiments table or API for artifact_location values that contain '#'. Check server logs for experiment creation requests with a fragment, followed by artifact reads that return system files. Rotate credentials the MLflow process could read if you find any.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
A path traversal vulnerability exists in the mlflow/mlflow repository, specifically within the handling of the artifact_location parameter when creating an experiment. Attackers can exploit this vulnerability by using a fragment component # in the artifact location URI to read arbitrary files on the server in the context of the server's process. This issue is similar to CVE-2023-6909 but utilizes a different component of the URI to achieve the same effect.
Questions
- How is CVE-2024-1594 related to CVE-2023-6909?
The advisory calls it similar: same effect, file read through the artifact location, but using the fragment component of the URI.
- Where is the bug?
In how the artifact_location is handled at experiment creation, with the reporter pointing to mlflow/utils/uri.py.
- Is there a fixed version?
The advisory lists none. A later fix for the same pattern, in CVE-2024-3848, shipped in 2.12.1.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More MLflow vulnerabilities
All MLflow entriesCVE-2026-116690
MLflow vulnerable to arbitrary file read on unauthenticated servers via prompt model version source
high7.5Oct 27, 2026CVE-2026-116691
MLflow CrewAI autologging records LLM provider API keys in logged trace spans
medium6.5Oct 27, 2026CVE-2026-116692
MLflow vulnerable to remote code execution on unauthenticated servers via third-party scorer deserialization importing caller-placed artifact modules
critical9.8Oct 27, 2026CVE-2026-115886
MLflow: SSRF on unauthenticated MLflow servers via third-party scorer kwargs in the scorer invoke, register, and GenAI evaluate endpoints
medium6.5Oct 23, 2026CVE-2026-53995
MLflow FileStore trace IDs allow path traversal and arbitrary file writes
high8.2Oct 20, 2026GHSA-gqvg-gmmx-x4hm
MLFLOW_ALLOW_PICKLE_DESERIALIZATION=False safety control bypassed by mlflow.statsmodels flavor — RCE via crafted model artifact
high8.8Sep 1, 2026
