CVE-2024-37061: MLFlow improper input validation
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 mlflowmlflow
- 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 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
