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

CVE-2025-1889: Picklescan Information Disclosure Flaw

CVE-2025-1889 is an information disclosure vulnerability in Mmaitre314 Picklescan that allows attackers to bypass security scans using non-standard file extensions. This article covers technical details, affected versions, and mitigations.

Published: March 11, 2026

CVE-2025-1889 Overview

CVE-2025-1889 is a security bypass vulnerability in picklescan, a Python security tool designed to detect malicious pickle files in machine learning models. The vulnerability exists because picklescan versions prior to 0.0.22 only consider standard pickle file extensions when determining the scope of its vulnerability scan. An attacker could craft a malicious model that includes a pickle file with a non-standard file extension, effectively bypassing picklescan's security checks. This allows malicious pickle payloads to appear safe while potentially containing harmful code.

Critical Impact

Attackers can bypass ML model security scanning by using non-standard file extensions for malicious pickle files, potentially leading to arbitrary code execution when the model is loaded.

Affected Products

  • mmaitre314 picklescan versions before 0.0.22

Discovery Timeline

  • 2025-03-03 - CVE-2025-1889 published to NVD
  • 2025-12-29 - Last updated in NVD database

Technical Details for CVE-2025-1889

Vulnerability Analysis

This vulnerability is classified under CWE-646 (Reliance on File Name or Extension of Externally-Supplied File). The root cause lies in picklescan's incomplete approach to identifying pickle files for security analysis. Python's pickle serialization format is inherently dangerous because it can execute arbitrary code during deserialization. Security tools like picklescan are designed to scan machine learning models and detect malicious pickle content before it can be executed.

However, picklescan's implementation relied solely on file extensions to determine which files to scan. This creates a security gap because pickle files can technically use any file extension. The Python pickle module will happily deserialize data regardless of the file's extension, meaning an attacker can rename a malicious pickle file to use an obscure or custom extension (such as .data, .bin, .model, or any arbitrary string) to evade detection.

Root Cause

The vulnerability stems from an allowlist-based approach to file identification. Picklescan maintained a list of "known" pickle file extensions and only scanned files matching those extensions. This design fundamentally misunderstands how attackers operate—they will simply use unlisted extensions to bypass the security control. The proper approach is to either analyze file content headers or treat all binary files as potentially dangerous, rather than relying on easily-spoofed file metadata.

Attack Vector

The attack vector is network-based, requiring user interaction. An attacker would create a malicious machine learning model package containing embedded pickle files. By naming these pickle files with non-standard extensions, the attacker ensures picklescan does not flag them during security scanning. When a victim downloads and loads the seemingly "safe" model, the malicious pickle code executes, potentially compromising the system.

The attack scenario typically involves:

  1. Attacker creates a malicious pickle payload designed to execute arbitrary code
  2. Attacker renames the pickle file to use a non-standard extension (e.g., weights.bin instead of weights.pkl)
  3. Attacker packages this into a machine learning model and distributes it via model repositories
  4. Victim runs picklescan against the model, which reports no threats
  5. Victim loads the model in their Python environment, triggering code execution

Detection Methods for CVE-2025-1889

Indicators of Compromise

  • Presence of binary files with unusual extensions in machine learning model packages that contain pickle serialization magic bytes (\\x80\\x03 or \\x80\\x04 at file start)
  • Model packages containing executable code embedded in non-standard file formats
  • Unexpected network connections or process spawning after loading ML models

Detection Strategies

  • Implement content-based detection that examines file headers rather than extensions to identify pickle format
  • Monitor Python environments for suspicious pickle.load() or torch.load() calls on files with non-standard extensions
  • Scan all binary files within model archives regardless of extension using updated picklescan version 0.0.22 or later
  • Review model provenance and verify models come from trusted sources

Monitoring Recommendations

  • Enable logging for all pickle deserialization operations in production environments
  • Implement sandbox environments for initial model loading and testing
  • Monitor for anomalous file access patterns when loading machine learning models
  • Alert on execution of child processes originating from Python ML frameworks

How to Mitigate CVE-2025-1889

Immediate Actions Required

  • Upgrade picklescan to version 0.0.22 or later immediately
  • Re-scan all previously approved models with the updated version of picklescan
  • Quarantine and review any models that were scanned with vulnerable versions of picklescan
  • Consider implementing additional defense-in-depth measures for ML model loading

Patch Information

The vulnerability has been addressed in picklescan version 0.0.22. The fix expands the scope of file scanning beyond standard pickle extensions to properly detect malicious pickle content regardless of file naming. Users should upgrade to version 0.0.22 or later to receive the security fix.

For additional details, see the GitHub Security Advisory and Sonatype Security Advisory.

Workarounds

  • Manually inspect all binary files in model packages using file command or hex dump to identify pickle magic bytes
  • Implement additional scanning layers that analyze file content headers rather than extensions
  • Use safe loading alternatives where available (e.g., safetensors format instead of pickle-based formats)
  • Restrict model loading to explicitly trusted and verified sources only
bash
# Upgrade picklescan to patched version
pip install --upgrade picklescan>=0.0.22

# Verify installed version
pip show picklescan | grep Version

# Re-scan previously approved models
picklescan --path /path/to/models/

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechMmaitre314 Picklescan

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/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
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-646

  • NVD-CWE-noinfo
  • Technical References
  • GitHub Security Advisory

  • Sonatype Security Advisory
  • Related CVEs
  • CVE-2025-1945: Mmaitre314 Picklescan RCE Vulnerability

  • CVE-2025-1716: Mmaitre314 Picklescan RCE Vulnerability

  • CVE-2025-10156: Mmaitre314 Picklescan 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