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

CVE-2024-37055: MLFlow unsafe deserialization

highCVSS 3.1 8.8GHSA-x38x-g6gr-jqff

MLflow's pmdarima flavor deserializes untrusted model files, so a maliciously uploaded pmdarima model can run arbitrary code on the machine of anyone who loads it. MLflow 1.24.0 through 2.14.1 are affected. The advisory lists no patched version.

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

What an attacker can do

pmdarima is a Python library for ARIMA time-series forecasting, and MLflow added a flavor for it in 1.24.0. That is where the affected range starts. Loading a stored pmdarima model deserializes the file, and the advisory classifies the flaw as unsafe deserialization of untrusted data (CWE-502).

The sources I read do not name the exact function that loads the pmdarima file. HiddenLayer's published write-up covers the scikit-learn flavor, where pickle.load() is the sink.

An attacker needs to upload a model to a tracking server or registry that someone else reads from. A victim, such as a forecasting team member or a batch job, then has to load it. The CVSS 3.1 vector reflects that: network, no privileges, user interaction required, high impact on confidentiality, integrity and availability.

The practical danger is a scheduled forecasting job that loads the latest registered model automatically. Such a job would run attacker code unattended and with the job's credentials.

Who is affected

pip package mlflow 1.24.0 through 2.14.1. You are exposed only if you load pmdarima models (mlflow.pmdarima) that people outside your trust boundary can log or register.

pip show mlflow

Search your code for mlflow.pmdarima.

mlflow

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

How to fix it

There is no patched version in the advisory. Limit exposure:

  • Do not load pmdarima models from untrusted users or registries.
  • Pin forecasting jobs to a specific, reviewed model version. Avoid "latest" or automatic stage promotion from shared uploads.
  • Run loading jobs with least-privilege credentials, in a sandbox.

Recheck the MLflow release notes for a fix before relying on any later version.

How to tell if you were hit

Find registered models using the pmdarima flavor (look for pmdarima in the MLmodel file) and check who uploaded each version. Scan model files for pickle imports such as os.system or subprocess. On job hosts, look for unexpected child processes or network connections after a model is loaded.

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.24.0 or newer, enabling a maliciously uploaded pmdarima model to run arbitrary code on an end user’s system when interacted with.

Questions

Does this affect my other MLflow flavors?

This record is about pmdarima only. Other flavors have their own advisories in this series, such as scikit-learn, PyFunc, TensorFlow, PyTorch and LightGBM.

When did the pmdarima flavor become affected?

MLflow 1.24.0. The range runs to 2.14.1, and no fixed version is listed.

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