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-2025-10155

CVE-2025-10155: Mmaitre314 Picklescan RCE Vulnerability

CVE-2025-10155 is a remote code execution flaw in Mmaitre314 Picklescan that allows attackers to bypass security checks using malicious pickle files. This article covers technical details, affected versions, and mitigation.

Published: April 29, 2026

CVE-2025-10155 Overview

CVE-2025-10155 is an Improper Input Validation vulnerability affecting mmaitre314 picklescan, a security tool designed to scan Python pickle files for potentially malicious content. The vulnerability exists in the scanning logic of picklescan versions up to and including 0.0.30, where an attacker can bypass security checks by supplying a standard pickle file with a PyTorch-related file extension. When the scanner incorrectly deems the file safe and it is subsequently loaded, malicious code embedded within the pickle can be executed.

Critical Impact

Remote attackers can bypass pickle file security scanning entirely by manipulating file extensions, leading to arbitrary code execution when the malicious pickle is loaded by downstream applications.

Affected Products

  • mmaitre314 picklescan versions up to and including 0.0.30

Discovery Timeline

  • 2025-09-17 - CVE-2025-10155 published to NVD
  • 2025-10-02 - Last updated in NVD database

Technical Details for CVE-2025-10155

Vulnerability Analysis

This vulnerability represents a critical input validation flaw in the picklescan security tool. Picklescan is designed to analyze Python pickle files and detect potentially dangerous deserialization patterns before they can be loaded and executed. The tool serves as a security layer for machine learning workflows that frequently use pickle files for model serialization.

The core issue lies in how picklescan determines whether to apply its security scanning logic. The scanner uses file extensions to determine how files should be processed, and files with certain PyTorch-related extensions receive different treatment during analysis. By exploiting this extension-based categorization, an attacker can craft a standard pickle file containing malicious payloads but give it a PyTorch-associated extension, causing the scanner to apply incorrect or insufficient validation rules.

When the file passes through picklescan without proper scrutiny, downstream applications that trust the scanner's verdict will proceed to deserialize the pickle content. Python's pickle module is inherently unsafe because it can execute arbitrary code during deserialization, which is precisely why tools like picklescan exist. This bypass effectively nullifies the security protection that picklescan is meant to provide.

Root Cause

The root cause stems from improper input validation in the file type detection logic within picklescan's scanner module. The vulnerability exists because the scanner relies on file extensions to determine the appropriate scanning behavior rather than properly inspecting the actual file contents. This extension-based trust allows attackers to disguise standard pickle files as PyTorch-related formats, bypassing the intended security checks. The flawed logic can be traced to the scanner implementation in the scanner.py module.

Attack Vector

The attack leverages network-accessible file uploads or transfers where picklescan is used as a security gate. An attacker prepares a malicious pickle file containing arbitrary code execution payloads (commonly using Python's __reduce__ method or similar pickle opcodes). Instead of using standard pickle extensions like .pkl or .pickle, the attacker renames the file with a PyTorch-related extension such as .pt or .pth.

When this file is submitted to a system protected by the vulnerable picklescan version, the scanner misidentifies the file type and applies incorrect validation rules. The file is marked as safe, allowing it to pass through to applications that subsequently deserialize it using Python's pickle module. Upon deserialization, the embedded malicious code executes with the privileges of the application processing the file.

This attack is particularly dangerous in machine learning pipelines where model files are frequently exchanged and loaded from potentially untrusted sources such as model hubs, collaborative platforms, or user uploads.

Detection Methods for CVE-2025-10155

Indicators of Compromise

  • Presence of pickle files with PyTorch extensions (.pt, .pth) that contain standard pickle opcodes rather than legitimate PyTorch serialization structures
  • Unexpected process spawning or network connections originating from Python processes that load pickle/model files
  • Anomalous file uploads with PyTorch-related extensions to systems using picklescan for security validation
  • Evidence of pickle deserialization errors followed by successful code execution patterns

Detection Strategies

  • Implement content-based file type detection that analyzes file headers and internal structures rather than relying solely on extensions
  • Deploy application-level logging to capture all pickle deserialization events and correlate with source file metadata
  • Monitor for process creation chains where Python interpreter processes spawn unexpected child processes after loading model files
  • Utilize endpoint detection capabilities to identify suspicious command execution following pickle file operations

Monitoring Recommendations

  • Enable verbose logging on systems using picklescan to capture file extension and content type decisions
  • Configure alerts for pickle file processing events where the extension does not match detected content type
  • Monitor network egress from machine learning pipeline systems for unexpected connections following model loading operations
  • Establish baselines for normal pickle file processing patterns and alert on deviations

How to Mitigate CVE-2025-10155

Immediate Actions Required

  • Upgrade picklescan to a version newer than 0.0.30 that addresses this vulnerability
  • Audit all pickle/model files currently stored or queued for processing in affected environments
  • Implement additional content-type validation independent of picklescan as a defense-in-depth measure
  • Review and restrict permissions for processes that handle pickle deserialization to limit potential damage from code execution

Patch Information

The vendor has published a security advisory addressing this vulnerability. Organizations using picklescan should consult the GitHub Security Advisory GHSA-jgw4-cr84-mqxg for official patch information and upgrade instructions. Update to the latest available version of picklescan that resolves the improper input validation in the scanning logic.

Workarounds

  • Implement mandatory content-based file type detection before files reach picklescan, rejecting files where extension does not match content
  • Restrict accepted file extensions to only those explicitly required by your application, blocking PyTorch-related extensions if not needed
  • Deploy additional sandboxing around pickle deserialization operations to contain potential code execution
  • Consider using safer serialization formats such as safetensors for machine learning model storage where pickle is not strictly required
  • Apply strict input validation on all file upload endpoints to verify file content matches expected format regardless of extension
bash
# Configuration example - verify picklescan version and upgrade
pip show picklescan | grep Version
pip install --upgrade picklescan

# Alternative: Pin to a specific patched version
pip install picklescan>=0.0.31

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechMmaitre314 Picklescan

  • SeverityCRITICAL

  • CVSS Score9.3

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-20
  • Technical References
  • GitHub PickleScan Script
  • Vendor Resources
  • GitHub Security Advisory GHSA-jgw4-cr84-mqxg
  • Related CVEs
  • CVE-2025-1945: Mmaitre314 Picklescan RCE Vulnerability

  • CVE-2025-1716: Mmaitre314 Picklescan RCE Vulnerability

  • CVE-2025-10156: Mmaitre314 Picklescan RCE Vulnerability

  • CVE-2025-1889: Picklescan Information Disclosure Flaw
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