The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-2025-15379

CVE-2025-15379: MLflow Command Injection RCE Vulnerability

CVE-2025-15379 is a command injection vulnerability in MLflow's model serving container that enables remote code execution. Attackers can exploit this flaw via malicious model artifacts to execute arbitrary commands.

Published: April 2, 2026

CVE-2025-15379 Overview

A command injection vulnerability exists in MLflow's model serving container initialization code, specifically in the _install_model_dependencies_to_env() function. When deploying a model with env_manager=LOCAL, MLflow reads dependency specifications from the model artifact's python_env.yaml file and directly interpolates them into a shell command without sanitization. This allows an attacker to supply a malicious model artifact and achieve arbitrary command execution on systems that deploy the model.

Critical Impact

This vulnerability enables attackers to achieve arbitrary command execution on systems deploying malicious model artifacts, potentially compromising the entire ML infrastructure and any connected systems.

Affected Products

  • MLflow version 3.8.0
  • MLflow deployments using env_manager=LOCAL configuration
  • Systems loading model artifacts from untrusted sources

Discovery Timeline

  • 2026-03-30 - CVE CVE-2025-15379 published to NVD
  • 2026-03-30 - Last updated in NVD database

Technical Details for CVE-2025-15379

Vulnerability Analysis

This command injection vulnerability (CWE-77) resides in MLflow's container initialization code within the _install_model_dependencies_to_env() function. The vulnerability arises from unsafe handling of user-controlled input during the model deployment process. When MLflow deploys a model with env_manager=LOCAL, it reads dependency specifications from the model artifact's python_env.yaml file. These specifications are then directly interpolated into a shell command without proper sanitization or escaping.

An attacker can craft a malicious model artifact containing specially crafted dependency strings in the python_env.yaml file. When an unsuspecting system attempts to deploy this model, the malicious payload is executed with the privileges of the MLflow process, potentially leading to complete system compromise.

Root Cause

The root cause is improper input validation and lack of sanitization when constructing shell commands from user-supplied data. The _install_model_dependencies_to_env() function directly uses dependency names and versions from python_env.yaml in shell command construction without escaping special characters or validating input format. This is a classic command injection pattern where untrusted data flows directly into shell execution contexts.

Attack Vector

The attack is network-accessible and requires no authentication or user interaction. An attacker can:

  1. Create a malicious MLflow model artifact with a crafted python_env.yaml file
  2. Host or distribute the malicious model through model registries, shared storage, or supply chain compromise
  3. Wait for a target system to deploy the model using env_manager=LOCAL
  4. The injected commands execute automatically during the dependency installation phase

The security patch demonstrates the fix by importing the shlex module to properly escape shell arguments:

python
 import logging
 import multiprocessing
 import os
+import shlex
 import shutil
 import signal
 import sys

Source: GitHub Commit

Detection Methods for CVE-2025-15379

Indicators of Compromise

  • Unusual process spawning from MLflow model serving containers
  • Unexpected network connections originating from ML inference endpoints
  • Suspicious entries in python_env.yaml files containing shell metacharacters such as ;, |, $(), or backticks
  • Anomalous system commands executed during model deployment phases

Detection Strategies

  • Monitor model artifact integrity by implementing checksum verification for python_env.yaml files
  • Deploy file integrity monitoring on MLflow model directories to detect unauthorized modifications
  • Implement runtime application self-protection (RASP) to detect command injection patterns during model loading
  • Review model artifacts for suspicious dependency strings before deployment

Monitoring Recommendations

  • Enable comprehensive logging for MLflow model deployment operations
  • Monitor process execution trees for child processes spawned during model initialization
  • Implement network segmentation alerts for ML serving containers making unexpected outbound connections
  • Configure SentinelOne to monitor for suspicious command-line patterns in Python processes

How to Mitigate CVE-2025-15379

Immediate Actions Required

  • Upgrade MLflow to version 3.8.2 or later immediately
  • Audit all existing model artifacts for suspicious python_env.yaml contents
  • Restrict model loading to trusted, verified sources only
  • Implement strict network segmentation for ML serving infrastructure

Patch Information

MLflow has addressed this vulnerability in version 3.8.2. The fix introduces proper shell argument escaping using the shlex module to sanitize dependency specifications before shell command construction. Organizations should upgrade immediately to the patched version.

For more details, see the GitHub security commit and the Huntr vulnerability disclosure.

Workarounds

  • Avoid using env_manager=LOCAL configuration until patching is complete
  • Implement strict model artifact validation pipelines that reject artifacts containing shell metacharacters in python_env.yaml
  • Deploy models only from trusted, cryptographically signed sources
  • Use containerized deployment with minimal privileges and network isolation
bash
# Configuration example: Restrict MLflow model loading to verified sources
# Set environment variables to enforce model verification
export MLFLOW_TRACKING_URI="https://secure-mlflow-server.internal"
export MLFLOW_MODEL_VALIDATION=strict

# Use virtual environment manager instead of LOCAL to avoid the vulnerable code path
mlflow models serve -m models:/MyModel/Production --env-manager=virtualenv

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechMlflow

  • SeverityCRITICAL

  • CVSS Score10.0

  • EPSS Probability0.17%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-77
  • Technical References
  • GitHub Commit Changes

  • Huntr Vulnerability Bounty
  • Related CVEs
  • CVE-2026-0596: MLflow Command Injection RCE Vulnerability

  • CVE-2025-14287: MLflow Command Injection RCE Vulnerability

  • CVE-2026-2033: MLflow Tracking Server RCE Vulnerability

  • CVE-2025-10279: MLflow RCE Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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