A Leader in the 2025 Gartner® Magic Quadrant™ for Endpoint Protection Platforms. Five years running.A Leader in the Gartner® Magic Quadrant™Read the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI Security Portfolio
      Leading the Way in AI-Powered Security Solutions
    • 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
      Digital Forensics, IRR & Breach Readiness
    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
    • 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-2024-48063

CVE-2024-48063: PyTorch RemoteModule RCE Vulnerability

CVE-2024-48063 is a deserialization remote code execution vulnerability in PyTorch RemoteModule affecting versions up to 2.4.1. This article covers the technical details, affected versions, security impact, and mitigation.

Updated: January 22, 2026

CVE-2024-48063 Overview

CVE-2024-48063 is an insecure deserialization vulnerability affecting PyTorch versions 2.4.1 and earlier. The vulnerability exists within the RemoteModule component of PyTorch's distributed RPC framework, which can be exploited to achieve remote code execution (RCE) through malicious deserialization of untrusted data. It is important to note that this vulnerability is disputed by multiple parties, as the behavior is considered intended functionality within PyTorch's distributed computing architecture.

Critical Impact

Successful exploitation allows unauthenticated attackers to execute arbitrary code remotely on systems running vulnerable PyTorch distributed computing environments, potentially leading to complete system compromise.

Affected Products

  • Linux Foundation PyTorch versions up to and including 2.4.1
  • PyTorch distributed RPC framework implementations
  • Systems utilizing RemoteModule for distributed machine learning workloads

Discovery Timeline

  • 2024-10-29 - CVE-2024-48063 published to NVD
  • 2025-07-16 - Last updated in NVD database

Technical Details for CVE-2024-48063

Vulnerability Analysis

The vulnerability resides in PyTorch's distributed RPC framework, specifically within the RemoteModule class used for distributed machine learning operations. The RemoteModule enables remote execution of neural network modules across distributed systems, but the underlying serialization mechanism does not adequately validate incoming data before deserialization.

When PyTorch processes serialized objects through the distributed RPC framework, it relies on Python's pickle serialization mechanism. This approach is inherently dangerous when handling untrusted input, as pickle can execute arbitrary Python code during the deserialization process. An attacker with network access to a PyTorch RPC endpoint can craft malicious serialized payloads that execute arbitrary commands when processed by the target system.

The dispute surrounding this vulnerability stems from PyTorch's documented security model, which explicitly states that distributed features are designed for trusted environments and should not be exposed to untrusted networks. According to PyTorch's security policy, the distributed RPC framework assumes all participating nodes are trusted, and using these features in untrusted environments is outside the intended security boundary.

Root Cause

The root cause is the use of Python's pickle serialization for object serialization in the RemoteModule implementation. Pickle is known to be unsafe for deserializing untrusted data, as it can instantiate arbitrary Python objects and execute code during the deserialization process. The RemoteModule component does not implement additional validation or sandboxing to prevent malicious code execution from crafted payloads.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability by:

  1. Identifying a PyTorch RPC endpoint exposed to the network
  2. Crafting a malicious serialized payload containing arbitrary Python code
  3. Sending the payload to the target endpoint using the RPC protocol
  4. The target system deserializes the payload, executing the embedded malicious code

The vulnerability is exploitable via the RemoteModule interface, which handles distributed neural network module execution. Technical details and proof-of-concept demonstrations are available in the referenced external resources, including a GitHub Gist containing PoC code and a detailed RCE analysis on Notion.

Detection Methods for CVE-2024-48063

Indicators of Compromise

  • Unexpected network connections to PyTorch RPC ports from external or untrusted IP addresses
  • Anomalous process spawning from Python processes running PyTorch distributed workloads
  • Unusual file system modifications or data exfiltration attempts originating from machine learning infrastructure
  • Network traffic containing suspicious serialized Python objects targeting RPC endpoints

Detection Strategies

  • Monitor network traffic for connections to PyTorch distributed RPC ports from unauthorized sources
  • Implement endpoint detection rules for suspicious process chains originating from Python/PyTorch processes
  • Deploy network intrusion detection signatures for pickle deserialization exploitation patterns
  • Audit PyTorch distributed computing configurations to identify exposed endpoints

Monitoring Recommendations

  • Enable verbose logging for PyTorch distributed RPC framework components
  • Monitor system calls from PyTorch processes for unauthorized command execution
  • Implement network segmentation monitoring to detect lateral movement from ML infrastructure
  • Establish baseline behavior for distributed ML workloads to detect anomalous activity

How to Mitigate CVE-2024-48063

Immediate Actions Required

  • Audit all PyTorch distributed computing deployments to identify exposed RPC endpoints
  • Ensure PyTorch RPC endpoints are not accessible from untrusted networks
  • Implement network segmentation to isolate distributed ML infrastructure
  • Review and restrict access to systems running PyTorch distributed workloads

Patch Information

As this vulnerability is disputed and considered intended behavior by PyTorch maintainers, there is no specific security patch available. The PyTorch security policy explicitly documents that distributed features are designed for trusted computing environments. Organizations should review the PyTorch Security Policy regarding distributed features for official guidance. Additional context can be found in GitHub Issue #129228.

Workarounds

  • Restrict PyTorch RPC endpoints to trusted internal networks only using firewall rules
  • Implement network-level authentication and encryption (VPN, mTLS) for distributed ML communications
  • Use network segmentation to prevent untrusted systems from reaching ML infrastructure
  • Consider alternative secure communication mechanisms for distributed computing if exposure to untrusted networks is required
bash
# Example: Restrict PyTorch RPC port access using iptables
# Allow only trusted internal network (adjust IP range as needed)
iptables -A INPUT -p tcp --dport 29500 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 29500 -j DROP

# Verify PyTorch RPC is not exposed externally
netstat -tlnp | grep python

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechPytorch

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability18.49%

  • 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-502
  • Technical References
  • GitHub Gist PoC Code

  • GitHub Issue #129228

  • GitHub Security Policy

  • Notion RCE Analysis on PyTorch
  • Related CVEs
  • CVE-2026-24747: PyTorch weights_only RCE Vulnerability

  • CVE-2025-2148: PyTorch Memory Corruption RCE Vulnerability

  • CVE-2025-32434: PyTorch torch.load RCE Vulnerability

  • CVE-2024-31580: PyTorch Heap Buffer Overflow DoS Flaw
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
  • English
  • 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