A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-37052

CVE-2024-37052: MLflow Platform RCE Vulnerability

CVE-2024-37052 is a remote code execution flaw in MLflow platform affecting version 1.1.0 and newer. Malicious scikit-learn models can execute arbitrary code on user systems. This post covers technical details, impact, and mitigation.

Published: June 2, 2026

CVE-2024-37052 Overview

CVE-2024-37052 is an insecure deserialization vulnerability in the MLflow machine learning lifecycle platform. The flaw affects MLflow versions 1.1.0 and newer. An attacker can upload a malicious scikit-learn model that executes arbitrary code when an end user loads or interacts with it. The vulnerability is tracked under CWE-502: Deserialization of Untrusted Data. Successful exploitation gives the attacker code execution in the context of the user processing the model, enabling credential theft, lateral movement, and supply-chain compromise of downstream ML pipelines.

Critical Impact

Loading an attacker-controlled scikit-learn model artifact results in arbitrary code execution on the end user's system, compromising confidentiality, integrity, and availability.

Affected Products

  • MLflow (lfprojects) version 1.1.0 and newer
  • Self-hosted MLflow tracking servers and model registries
  • Downstream consumers that load scikit-learn flavor models via MLflow

Discovery Timeline

  • 2024-06-04 - CVE-2024-37052 published to the NVD
  • 2025-02-03 - Last updated in the NVD database

Technical Details for CVE-2024-37052

Vulnerability Analysis

MLflow packages models using flavor-specific serialization formats. For the scikit-learn flavor, MLflow relies on Python's pickle (or cloudpickle) to serialize and deserialize model objects. When a user calls mlflow.sklearn.load_model() or invokes a saved model through mlflow.pyfunc.load_model(), MLflow unpickles the artifact without validating its contents.

Python pickle deserialization invokes the __reduce__ method of objects during loading. An attacker who controls the serialized payload can craft an object whose __reduce__ returns a callable such as os.system or subprocess.Popen together with attacker-chosen arguments. The interpreter executes that callable as part of the deserialization process.

Because MLflow is commonly used in collaborative environments and shared model registries, a malicious model published by one user runs in the context of any data scientist, CI/CD job, or inference service that loads it.

Root Cause

The root cause is the use of unsafe Python serialization formats for untrusted model artifacts. MLflow treats stored model files as trusted input and passes them directly to pickle.load. No signature verification, sandboxing, or allowlist of safe classes is enforced before object reconstruction.

Attack Vector

The attack vector is network-based and requires user interaction. An attacker uploads a poisoned scikit-learn model to a shared MLflow tracking server, model registry, or public artifact repository. When a victim loads the model, the embedded payload executes. Refer to the HiddenLayer Security Advisory for the full technical write-up.

// No verified public proof-of-concept code is available.
// The vulnerability mechanism is described in prose above.
// See the HiddenLayer advisory for technical details.

Detection Methods for CVE-2024-37052

Indicators of Compromise

  • Unexpected child processes such as sh, bash, python, or curl spawned by MLflow worker, Jupyter, or model-serving processes
  • Outbound network connections from data science workstations or inference containers to unknown hosts shortly after model load operations
  • New or modified files inside MLflow artifact stores containing oversized or obfuscated model.pkl payloads
  • Anomalous read access to credential files (~/.aws/credentials, ~/.ssh/, cloud metadata endpoints) from Python interpreters loading models

Detection Strategies

  • Inspect MLmodel and model.pkl artifacts for unexpected imports, large opcode streams, or references to os, subprocess, or posix modules using tools such as pickletools
  • Monitor MLflow audit logs for model uploads from untrusted accounts followed by load events on production systems
  • Alert on process lineage where Python processes loading MLflow artifacts spawn shells or networking utilities

Monitoring Recommendations

  • Enable verbose logging on MLflow tracking servers and forward events to a centralized SIEM for correlation
  • Baseline normal child-process and outbound network behavior for ML training and serving workloads, then alert on deviations
  • Track model registry promotion events and require human approval before models move into production stages

How to Mitigate CVE-2024-37052

Immediate Actions Required

  • Upgrade MLflow to a fixed release and review the HiddenLayer Security Advisory for version guidance
  • Restrict write access to the MLflow tracking server and model registry to authenticated, trusted users only
  • Audit existing scikit-learn model artifacts for unknown publishers and remove untrusted entries
  • Isolate MLflow model-loading workloads in containers or VMs with no access to production credentials or secrets

Patch Information

Apply the latest MLflow security release from the lfprojects MLflow project. Validate that the running version is above the patched release on every tracking server, worker, and client environment before resuming model loads from shared sources.

Workarounds

  • Do not load MLflow models from untrusted or unauthenticated sources
  • Place MLflow tracking servers behind authentication and authorization controls, blocking anonymous uploads
  • Run model-loading code in sandboxed environments such as ephemeral containers with network egress restrictions and no production secrets mounted
  • Use static analysis on pickle payloads with pickletools.dis before loading models in interactive sessions
bash
# Inspect a suspicious model artifact before loading
python -c "import pickletools; pickletools.dis(open('model.pkl','rb'))" | head -100

# Run MLflow model loads inside a restricted container
docker run --rm --network=none --read-only \
  -v "$PWD/model:/model:ro" \
  python:3.11-slim python -c "import mlflow.sklearn; mlflow.sklearn.load_model('/model')"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechMlflow

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.32%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-502
  • Technical References
  • HiddenLayer Security Advisory
  • Related CVEs
  • CVE-2026-4137: MLflow Insecure Permissions RCE Vulnerability

  • CVE-2026-2611: MLflow Assistant RCE Vulnerability

  • CVE-2025-10279: Lfprojects Mlflow RCE Vulnerability

  • CVE-2026-0596: MLflow Command Injection RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English