CVE-2024-37054: Arbitrary Code Execution via Malicious PyFunc Model Deserialization in MLflow
- Vendor
- Lfprojects
CVE-2024-37054 is a deserialization-of-untrusted-data vulnerability in MLflow versions 0.9.0 and later. A maliciously uploaded PyFunc model can cause arbitrary code to run on an end user’s system when the user interacts with the model.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows arbitrary code execution on the end user’s system.
Mitigation
If you can’t patch tonight, do this now.
Do not load or interact with PyFunc models from untrusted or unauthenticated sources. Restrict who can upload models to MLflow, enforce provenance and integrity validation for model artifacts, and isolate model loading and execution in sandboxed or low-privilege environments such as containers or dedicated hosts. Where possible, separate model registry access from general user access, monitor for suspicious model uploads, and treat serialized model artifacts as executable content rather than passive data.
Remediation
Patch, then assume compromise.
Upgrade MLflow to a vendor-fixed version if one is available. In the absence of version-specific fix information in the provided content, organizations should apply the official security update or patched release addressing CVE-2024-37054 as published by the MLflow project. Additionally, review and remove untrusted or previously uploaded PyFunc models from MLflow environments, and revalidate model provenance before further use.
Exploits
8 exploits validated by Mallory's analysis. Hidden: 2 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2024-37054 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2024-37054 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2024-37054?
- Yes. Mallory tracks 8 public exploits or proofs of concept for CVE-2024-37054, the earliest disclosed Aug 22, 2025.
- Is there a patch for CVE-2024-37054?
- Upgrade MLflow to a vendor-fixed version if one is available. In the absence of version-specific fix information in the provided content, organizations should apply the official security update or patched release addressing CVE-2024-37054 as published by the MLflow project.
- What products are affected by CVE-2024-37054?
- Lfprojects Mlflow.
- How severe is CVE-2024-37054?
- CVE-2024-37054 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 0.70% (54th percentile) as of Oct 16, 2026.
Recent activity
2 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.