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-2026-31223

CVE-2026-31223: Snorkel Insecure Deserialization Vulnerability

CVE-2026-31223 is an insecure deserialization flaw in Snorkel library that enables remote code execution via malicious pickle files. This article covers the technical details, affected versions, impact, and mitigation.

Published: May 17, 2026

CVE-2026-31223 Overview

CVE-2026-31223 is an insecure deserialization vulnerability [CWE-502] in the Snorkel library through version v0.10.0. The flaw resides in the BaseLabeler.load() method of the BaseLabeler class, which uses Python's unsafe pickle.load() function on user-supplied file paths. The method performs no validation or integrity checks before deserializing data. A remote attacker who can deliver a crafted pickle file to a target system can achieve arbitrary code execution when the file is loaded. Snorkel is a weak supervision library used in machine learning pipelines, making this vulnerability relevant to data science and MLOps environments.

Critical Impact

Successful exploitation allows arbitrary code execution in the context of the Python process loading the malicious labeler model, leading to full compromise of confidentiality, integrity, and availability.

Affected Products

  • Snorkel library versions up to and including v0.10.0
  • Python applications invoking BaseLabeler.load() on untrusted files
  • ML pipelines that ingest serialized Snorkel labeler models from external sources

Discovery Timeline

  • 2026-05-12 - CVE-2026-31223 published to NVD
  • 2026-05-15 - Last updated in NVD database

Technical Details for CVE-2026-31223

Vulnerability Analysis

The vulnerability stems from unsafe deserialization of untrusted data inside the BaseLabeler.load() method. Python's pickle module is documented as insecure for handling untrusted input because it permits arbitrary callables to execute during object reconstruction. When Snorkel calls pickle.load() against a file path supplied by the caller, it places full trust in the file's contents. An attacker who controls or substitutes that file can embed a __reduce__ method that executes operating system commands, spawns shells, or imports additional payloads at load time.

The attack requires user interaction in the form of loading a malicious model file, which is a routine operation in ML workflows. Because labeler models are commonly shared across teams, downloaded from repositories, or fetched from object storage, the trust boundary is frequently crossed without scrutiny.

Root Cause

The root cause is the direct use of pickle.load() on a path argument without authenticity verification, sandboxing, or migration to a safe serialization format such as JSON, safetensors, or signed protobuf. No allowlist of classes is enforced through a custom Unpickler.find_class() implementation. The library does not validate file provenance or compute a cryptographic signature before deserialization.

Attack Vector

A remote attacker hosts or delivers a crafted pickle file that mimics a legitimate Snorkel labeler artifact. The file is delivered through a model repository, shared bucket, supply chain dependency, email attachment, or compromised CI pipeline. When a data scientist or automated job calls BaseLabeler.load(path) on the malicious file, the embedded payload executes with the privileges of the Python process. The attacker gains code execution, which can be used to exfiltrate training data, pivot into cloud credentials, or persist in the MLOps environment.

No verified public proof-of-concept code is available at this time. The exploitation pattern follows the standard Python pickle gadget approach using a __reduce__ method that returns a callable such as os.system with attacker-controlled arguments.

Detection Methods for CVE-2026-31223

Indicators of Compromise

  • Pickle files containing references to os.system, subprocess, posix.system, or builtins.eval in their opcode stream
  • Unexpected child processes spawned by Python interpreters running Snorkel workloads
  • Outbound network connections from data science workstations or training nodes immediately after model load operations
  • Snorkel labeler artifacts originating from untrusted registries, public buckets, or unverified contributors

Detection Strategies

  • Statically scan .pkl and .pickle files for dangerous opcodes such as GLOBAL, REDUCE, and INST using tools like pickletools or fickling
  • Monitor Python processes for unexpected execve, fork, or shell invocations following calls into Snorkel modules
  • Enable EDR behavioral telemetry to capture parent-child process relationships originating from python interpreters
  • Audit code repositories for direct invocations of BaseLabeler.load() against externally sourced file paths

Monitoring Recommendations

  • Log all model load operations in MLOps pipelines with source URI, file hash, and loading user identity
  • Alert on Python processes establishing outbound connections within seconds of importing Snorkel
  • Track file integrity for stored labeler artifacts using cryptographic hashes
  • Correlate ML training job execution events with process creation and network telemetry in a centralized data lake

How to Mitigate CVE-2026-31223

Immediate Actions Required

  • Inventory all Snorkel deployments and identify versions at or below v0.10.0
  • Restrict BaseLabeler.load() calls to artifacts originating from trusted, signed sources only
  • Quarantine and rehash any labeler models loaded from public or shared storage in the last 90 days
  • Isolate ML training environments from production credentials and sensitive data stores

Patch Information

No vendor patch is referenced in the available advisory data. Monitor the GitHub Snorkel Repository for upstream fixes and version updates that address the unsafe deserialization pattern.

Workarounds

  • Replace pickle.load() usage with a safe serialization format such as JSON, safetensors, or signed protobuf for labeler persistence
  • Wrap deserialization in a restricted Unpickler subclass that overrides find_class() to allowlist only required Snorkel classes
  • Verify cryptographic signatures of model artifacts before invoking BaseLabeler.load()
  • Execute model loading inside a sandboxed container with no network access and minimal filesystem privileges
bash
# Configuration example: scan pickle files for dangerous opcodes before loading
pip install fickling
fickling --check-safety /path/to/labeler.pkl

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechSnorkel

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.26%

  • 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
  • GitHub Snorkel Repository

  • Notion CVE-2026-31223 Details
  • Related CVEs
  • CVE-2026-31222: Snorkel RCE Vulnerability

  • CVE-2026-31224: Snorkel RCE Vulnerability via Deserialization
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