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

CVE-2026-31048: Pyro v3.x RCE Vulnerability

CVE-2026-31048 is a remote code execution flaw in Pyro v3.x that allows attackers to execute arbitrary code via crafted pickle protocol messages. This post covers technical details, affected versions, and mitigation.

Published: April 17, 2026

CVE-2026-31048 Overview

An insecure deserialization vulnerability exists in the pickle protocol implementation of Pyro v3.x. The flaw allows remote attackers to execute arbitrary code on affected systems by supplying a specially crafted pickled string message. This vulnerability is classified as CWE-94 (Improper Control of Generation of Code) and represents a severe security risk for applications utilizing Pyro3 for distributed object communication.

Critical Impact

Unauthenticated remote attackers can achieve full code execution on vulnerable Pyro3 servers by sending malicious pickled payloads over the network, potentially leading to complete system compromise.

Affected Products

  • Pyro v3.x (all versions using the pickle protocol)
  • Applications utilizing Pyro3's protocol.py for object serialization
  • Systems with exposed Pyro3 daemon services

Discovery Timeline

  • April 13, 2026 - CVE-2026-31048 published to NVD
  • April 15, 2026 - Last updated in NVD database

Technical Details for CVE-2026-31048

Vulnerability Analysis

This vulnerability stems from unsafe use of Python's pickle module within Pyro3's protocol handling code. Python's pickle module is inherently unsafe when processing untrusted data, as it can deserialize arbitrary Python objects, including those that execute code during the unpickling process. The vulnerable code path exists in Pyro/protocol.py at lines 672-711, where incoming network messages are deserialized without proper validation or restrictions on the types of objects that can be instantiated.

When a Pyro3 server receives a pickled message, it processes the data stream and reconstructs Python objects. An attacker can craft a malicious pickle payload that, when deserialized, triggers arbitrary code execution through Python's __reduce__ or similar magic methods that pickle invokes during object reconstruction.

Root Cause

The root cause is the direct use of pickle deserialization on untrusted network input without implementing pickle's find_class() restrictions or using safer serialization alternatives. The Pyro3 security documentation acknowledges pickle's inherent risks, but the default protocol implementation does not enforce sufficient safeguards against malicious payloads.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker identifies a Pyro3 daemon listening on the network, then constructs a malicious pickled payload containing a Python object that executes arbitrary commands during deserialization. Common techniques include crafting objects with __reduce__ methods that return tuples invoking os.system(), subprocess.Popen(), or similar functions. When the Pyro3 server deserializes this payload, the attacker's code executes with the privileges of the Pyro daemon process.

For technical details on the vulnerable code path, see the GitHub Code Review and the GitHub Security Advisory.

Detection Methods for CVE-2026-31048

Indicators of Compromise

  • Unexpected outbound network connections from Pyro3 daemon processes
  • Suspicious child processes spawned by Python processes running Pyro3 services
  • Unusual pickle protocol messages containing encoded function calls to os, subprocess, commands, or similar modules
  • Evidence of reverse shells or command execution originating from Pyro service accounts

Detection Strategies

  • Monitor network traffic for Pyro3 protocol communications (default port 9090 and dynamic ports) containing suspicious pickle opcodes
  • Implement application-level logging to capture deserialization events and flag objects with __reduce__ methods
  • Deploy endpoint detection rules to identify Python processes spawning unexpected shell commands or network utilities
  • Use network intrusion detection signatures to identify known malicious pickle payload patterns

Monitoring Recommendations

  • Enable verbose logging for Pyro3 daemon processes to capture incoming message metadata
  • Configure SIEM rules to correlate Pyro3 network activity with subsequent process creation events
  • Establish baselines for normal Pyro3 communication patterns and alert on deviations
  • Monitor for file system changes or new processes initiated by Pyro service accounts

How to Mitigate CVE-2026-31048

Immediate Actions Required

  • Restrict network access to Pyro3 services using firewall rules to allow only trusted clients
  • Consider migrating to Pyro4 or Pyro5 which offer safer serialization options including serpent and json
  • Implement network segmentation to isolate systems running Pyro3 daemons
  • Review and audit all applications using Pyro3 to assess exposure

Patch Information

As of the last NVD update on April 15, 2026, no official patch has been released for Pyro3. Users are advised to consult the GitHub Security Documentation for security configuration guidance. The Pyro3 project appears to be in maintenance mode, and migration to newer Pyro versions with safer serialization defaults is strongly recommended.

Workarounds

  • Configure Pyro3 to use the HMAC validation feature to authenticate messages before deserialization
  • Implement custom pickle restrictor classes using pickle.Unpickler.find_class() to whitelist allowed object types
  • Deploy Pyro3 services behind authenticated proxy layers or VPN tunnels
  • Run Pyro3 daemons in sandboxed environments with minimal system privileges
bash
# Example firewall rule to restrict Pyro3 access (iptables)
# Allow Pyro3 connections only from trusted subnet
iptables -A INPUT -p tcp --dport 9090 -s 10.0.1.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 9090 -j DROP

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechPyro

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.07%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-94
  • Technical References
  • GitHub Security Advisory

  • GitHub Code Review

  • GitHub Security Documentation
  • Latest CVEs
  • CVE-2026-9813: FlowIntel SSRF Vulnerability

  • CVE-2026-4377: D-Link DWR-X1820 Auth Bypass Vulnerability

  • CVE-2026-47074: ex_aws_sns Auth Bypass Vulnerability

  • CVE-2026-46241: Linux Kernel Use-After-Free Vulnerability
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