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

CVE-2024-37061: MLFlow improper input validation

highCVSS 3.1 8.8GHSA-pqcv-qw2r-r859

A crafted MLproject file can make MLflow run attacker code, because input in it is not filtered. A user who runs such a project is exposed to remote code execution. MLflow 1.11.0 through 2.13.1 are affected. The advisory lists no patched version.

Published Jun 4, 2024 · Updated Jun 5, 2024 · Analysis Nov 2, 2026

What an attacker can do

An MLproject file defines an MLflow project: its entry points and the commands they run. The advisory says the code execution happens "due to unfiltered input", so values in the file can reach execution without sanitising. This record is CVE-2024-37061 and, unlike its siblings, it is a command-input problem and not model deserialization. The affected range begins at 1.11.0.

The sources I read do not give the exact field or function. The HiddenLayer write-up does not cover this CVE.

The attacker must get the victim to run a project they control, for example with mlflow run on a repository URL. The victim triggers it (CVSS UI:R). The commands then run as the victim, on a laptop, CI worker or training host, with the credentials and data available to it.

The range ends at 2.13.1, one release earlier than the model-deserialization advisories, but with no patched version listed that gap does not give a safe release.

Who is affected

pip package mlflow from 1.11.0 to 2.13.1 inclusive, for people who run MLflow Projects (mlflow run) from sources they did not write.

pip show mlflow

mlflow

Ecosystem
PyPI
Affected
>= 1.11.0, <= 2.13.1
Fixed in
No patched version yet
Check
pip show mlflow

How to fix it

The advisory lists no patched version. Run only projects you wrote or reviewed. Read the MLproject file and every entry-point command before mlflow run, and run projects in a disposable container without production credentials. Do not point mlflow run at third-party repository URLs from CI.

Check newer MLflow releases for a documented change.

How to tell if you were hit

Look in shell history, CI logs and process listings for mlflow run invocations against repositories you do not own. Read the MLproject files of projects that were run recently for entry-point commands that contain extra shell syntax. Check for unexpected child processes and outbound connections from the run.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Remote Code Execution can occur in versions of the MLflow platform running version 1.11.0 or newer, enabling a maliciously crafted MLproject to execute arbitrary code on an end user’s system when run due to unfiltered input.

Questions

Does this involve a model upload?

No. The advisory is about a crafted MLproject file that executes code when run, not a model artifact.

Which MLflow version is the last affected one?

2.13.1. No patched version is recorded, so do not assume 2.14.0 is safe without checking the project's release notes.

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