AgentbeamBeta
AI agent vulnerability · MLflow

CVE-2024-1483: mlflow Path Traversal vulnerability

highCVSS 3.0 7.5GHSA-f82r-jj5r-6g97

MLflow 2.9.2 and earlier let an unauthenticated attacker read arbitrary files on the server. Crafted POST requests set `artifact_location` and `source` to a local URI that uses `#` instead of `?`, which walks out of the artifact directory. Fixed in mlflow 2.12.1.

Published Apr 16, 2024 · Updated Aug 9, 2024 · Analysis Nov 10, 2026

What an attacker can do

The server's request handlers validate user-supplied artifact_location and source values too weakly. The advisory says a local URI that uses # where a query ? would go gets past the check, and the path then traverses the server's directories (CWE-22). The attacker sends a short series of POST requests that create the artifact location and a model version with that source, then downloads the target file through the artifact endpoint.

The vector is AV:N/AC:L/PR:N/UI:N with high confidentiality impact and no integrity or availability impact. A default MLflow server has no authentication, so reach to the port is enough. Readable files include credentials, tokens and configuration on the host, depending on the permissions of the MLflow process.

It is the same family as the other 2024 MLflow traversal reports, with a different bypass technique.

Who is affected

pip package mlflow 2.9.2 and earlier. Check:

pip show mlflow

The risk applies to hosts that run the MLflow tracking server and expose it to untrusted networks.

mlflow

Ecosystem
PyPI
Affected
<= 2.9.2
Fixed in
2.12.1
Check
pip show mlflow

How to fix it

Upgrade to mlflow 2.12.1.

pip install --upgrade "mlflow>=2.12.1"

The advisory gives no workaround. Until you upgrade, restrict the server to trusted networks and place an authenticating proxy in front of it. Run the server as a low-privilege user so a file read exposes little.

How to tell if you were hit

Look for POST requests that create experiments or model versions with artifact_location or source values holding #, .. or absolute paths. Check access logs for artifact download requests to paths outside your artifact root. Review experiment records for unexpected local-path artifact locations.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

A path traversal vulnerability exists in mlflow/mlflow version 2.9.2, allowing attackers to access arbitrary files on the server. By crafting a series of HTTP POST requests with specially crafted 'artifact_location' and 'source' parameters, using a local URI with '#' instead of '?', an attacker can traverse the server's directory structure. The issue occurs due to insufficient validation of user-supplied input in the server's handlers.

Credited to mberges21.

Questions

Which versions fix CVE-2024-1483?

mlflow 2.12.1. Version 2.9.2 and earlier are listed as vulnerable.

Is authentication required?

The advisory vector shows none. The MLflow tracking server does not authenticate by default.

What does the attacker get?

Read access to files on the server that the MLflow process can open. The advisory reports no write or availability impact.

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