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-10279

CVE-2025-10279: MLflow RCE Vulnerability

CVE-2025-10279 is a remote code execution vulnerability in MLflow version 2.20.3 caused by insecure world-writable permissions on temporary directories. This article covers technical details, affected versions, and mitigation.

Published: February 6, 2026

CVE-2025-10279 Overview

A race condition vulnerability exists in MLflow version 2.20.3 due to insecure world-writable permissions (0o777) assigned to temporary directories used for creating Python virtual environments. This vulnerability allows an attacker with local write access to the /tmp directory to exploit a Time-of-Check Time-of-Use (TOCTOU) race condition and overwrite .py files in the virtual environment, leading to arbitrary code execution.

Critical Impact

Local attackers with write access to /tmp can achieve arbitrary code execution by exploiting insecure temporary directory permissions in MLflow's virtual environment creation process.

Affected Products

  • MLflow version 2.20.3
  • MLflow versions prior to 3.4.0

Discovery Timeline

  • 2026-02-02 - CVE CVE-2025-10279 published to NVD
  • 2026-02-03 - Last updated in NVD database

Technical Details for CVE-2025-10279

Vulnerability Analysis

The vulnerability stems from improper handling of temporary directory permissions in MLflow's file utilities. When MLflow creates temporary directories for Python virtual environments, it uses tempfile.mkdtemp() followed by an explicit permission change to 0o777 (world-writable). This design choice, originally intended to ensure visibility in Spark UDF contexts, creates a significant security weakness.

The insecure permissions enable a local attacker to monitor the /tmp directory for newly created MLflow virtual environment directories and inject malicious Python code before the legitimate application processes execute. This classic TOCTOU (CWE-379) vulnerability allows privilege escalation through code injection into the execution pipeline.

Root Cause

The root cause is the explicit os.chmod(tmp_dir, 0o777) call that grants world-readable, world-writable, and world-executable permissions to the temporary directory. While tempfile.mkdtemp() creates directories with secure 0o700 permissions by default, the subsequent chmod operation weakens this protection to accommodate Spark UDF requirements without considering the security implications.

Attack Vector

The attack requires local access to the system with write permissions to the /tmp directory. An attacker can exploit this vulnerability by:

  1. Monitoring the /tmp directory for newly created MLflow temporary directories
  2. Detecting when a new virtual environment directory is created with 0o777 permissions
  3. Racing to overwrite .py files within the virtual environment before they are executed
  4. Achieving arbitrary code execution when MLflow processes the modified Python files
python
     else:
         tmp_dir = tempfile.mkdtemp()
         # mkdtemp creates a directory with permission 0o700
-        # change it to be 0o777 to ensure it can be seen in spark UDF
-        os.chmod(tmp_dir, 0o777)
+        # For Spark UDFs, we need to make it accessible to other processes
+        # Use 0o750 (owner: rwx, group: r-x, others: None) instead of 0o777
+        # This allows read/execute but not write for group and others
+        os.chmod(tmp_dir, 0o750)
         atexit.register(shutil.rmtree, tmp_dir, ignore_errors=True)

     return tmp_dir

Source: GitHub Commit Update

Detection Methods for CVE-2025-10279

Indicators of Compromise

  • Unexpected modifications to Python files in MLflow temporary directories under /tmp
  • Unusual process execution patterns originating from MLflow virtual environment directories
  • File system monitoring alerts showing rapid file modifications in /tmp directories with MLflow-related naming patterns
  • Evidence of directory permission monitoring scripts or tools targeting /tmp

Detection Strategies

  • Monitor file integrity of Python files within MLflow temporary directories using file integrity monitoring (FIM) solutions
  • Implement audit logging for file permission changes and file modifications in /tmp directories
  • Deploy endpoint detection rules to identify suspicious write operations to temporary virtual environment directories
  • Configure SentinelOne behavioral AI to detect anomalous code execution patterns from temporary directories

Monitoring Recommendations

  • Enable comprehensive audit logging for /tmp directory operations on systems running MLflow
  • Implement real-time alerting for world-writable permission assignments to directories in /tmp
  • Monitor for unusual Python interpreter executions originating from temporary directories
  • Use SentinelOne's Deep Visibility to track process lineage and identify suspicious execution chains

How to Mitigate CVE-2025-10279

Immediate Actions Required

  • Upgrade MLflow to version 3.4.0 or later immediately
  • Audit systems for evidence of exploitation by checking for unauthorized modifications in /tmp
  • Restrict local access to systems running vulnerable MLflow versions
  • Implement additional access controls on the /tmp directory where feasible

Patch Information

The vulnerability is resolved in MLflow version 3.4.0. The fix changes the temporary directory permissions from 0o777 to 0o750, which allows read/execute access for the group but removes write permissions for group and others entirely. This maintains compatibility with Spark UDFs while eliminating the race condition attack surface. The patch is available via the GitHub Commit Update.

Workarounds

  • If immediate upgrade is not possible, consider implementing system-level restrictions on /tmp directory access
  • Use dedicated, isolated systems for MLflow workloads to limit local attacker access
  • Configure mount options for /tmp with noexec where application compatibility allows
  • Implement additional monitoring and alerting for temporary directory operations as an interim control
bash
# Configuration example
# Upgrade MLflow to patched version
pip install --upgrade mlflow>=3.4.0

# Verify installed version
pip show mlflow | grep Version

# Alternative: Restrict /tmp permissions at system level (may impact other applications)
# mount -o remount,nosuid,nodev /tmp

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 Score7.0

  • EPSS Probability0.01%

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

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

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

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

  • CVE-2026-2033: MLflow Tracking Server 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