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

CVE-2024-37053: MLFlow unsafe deserialization

highCVSS 3.1 8.8GHSA-43c4-9qgj-x742

A second MLflow deserialization advisory covers scikit-learn models, listed separately as GHSA-43c4-9qgj-x742. A maliciously uploaded model can run arbitrary code when a user interacts with it. MLflow 1.1.0 through 2.14.1 are affected, and no patched version is listed.

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

What an attacker can do

This record has the same description and version range as CVE-2024-37052, and the advisory data does not say how the two differ. Both concern scikit-learn models, which HiddenLayer's write-up shows being read by pickle.load() or the default cloudpickle.load() in the sklearn flavor. Do not assume that fixing or blocking one closes the other.

The path is a poisoned model. The attacker needs write access to a tracking server or registry, or a way to make someone download their model file. When the victim loads the model, deserialization executes attacker-chosen code with the victim's rights. The CVSS 3.1 vector sets no privileges, network attack and required user interaction, with high impact on confidentiality, integrity and availability.

Teams that share a registry between data science, CI and production carry the highest risk, because a model promoted by one person gets loaded by many machines.

Who is affected

pip package mlflow 1.1.0 to 2.14.1 inclusive. Exposure depends on loading scikit-learn models from a source you do not fully control.

pip show mlflow

Also check any serving container that bundles an MLflow version in this range.

mlflow

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

How to fix it

No patched version appears in the advisory. Reduce risk by loading scikit-learn models only from sources you control, by limiting who can log and register models, and by running model loading in a sandbox without credentials.

Watch the MLflow releases for a change to model loading. Until the project documents one, assume every version through 2.14.1 stays exposed.

How to tell if you were hit

List recent registered model versions and who created them. Scan model artifacts for pickle opcodes that import os, subprocess, socket or builtins. On loading hosts, watch for shell or network activity started from a Python process that has just run mlflow.sklearn.load_model.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Deserialization of untrusted data can occur in versions of the MLflow platform running version 1.1.0 or newer, enabling a maliciously uploaded scikit-learn model to run arbitrary code on an end user’s system when interacted with.

Questions

How is CVE-2024-37053 different from CVE-2024-37052?

The advisories share the same description and range: scikit-learn model deserialization in MLflow 1.1.0 and later. The data here does not say what separates them, so treat them as one exposure.

Is a fix available?

No patched version is listed. Mitigate by controlling model sources and permissions.

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