NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · MLflow

CVE-2024-1594: mlflow vulnerable to Path Traversal

highCVSS 3.0 7.5GHSA-m49c-5c52-6696

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 mlflow

mlflow

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 entries