Skip to main content
Vulnerability Database/CVE-2026-49950

CVE-2026-49950: Xorbits Xoscar Deserialization RCE Vulnerability

CVE-2026-49950 is an unauthenticated deserialization vulnerability in Xorbits Xoscar that enables remote code execution through crafted TCP data. This article covers the technical details, affected versions, and mitigation strategies.

Published:

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-49950 Overview

CVE-2026-49950 is an unauthenticated deserialization vulnerability [CWE-502] in Xorbits Xoscar through version 0.11.2. The actor-pool TCP channel passes attacker-controlled bytes directly to cloudpickle.loads(), enabling remote code execution without authentication. Attackers reach the vulnerable path by sending crafted data over the exposed socket channel. The Xoscar service process commonly runs as root on GPU nodes, so successful exploitation yields privileged code execution on machine learning infrastructure.

Critical Impact

Remote, unauthenticated attackers can execute arbitrary code as the Xoscar service account, which typically runs as root on GPU compute nodes.

Affected Products

  • Xorbits Xoscar versions up to and including 0.11.2
  • Distributed Python actor-pool deployments using the socket backend
  • GPU and machine learning clusters running Xoscar as a scheduling layer

Discovery Timeline

  • 2026-10-13 - CVE-2026-49950 published to the National Vulnerability Database
  • 2026-10-13 - Last updated in NVD database

Technical Details for CVE-2026-49950

Vulnerability Analysis

Xoscar implements inter-process communication for its distributed actor model over TCP sockets. The receive path in python/xoscar/backends/communication/socket.py reads framed data from the channel and hands the payload to the serialization layer. That layer calls cloudpickle.loads() on the raw buffer in python/xoscar/serialization/core.pyx before any message type validation runs.

Python's pickle protocol invokes __reduce__ methods during object reconstruction. An attacker who controls the serialized bytes can embed a gadget that executes arbitrary callables, such as os.system or subprocess.Popen, the moment deserialization begins. Because the vulnerable code path precedes authentication and message validation, any network peer that can reach the actor-pool port triggers the gadget.

Root Cause

The root cause is unsafe deserialization of untrusted input. SocketChannel.recv() forwards unvalidated bytes from the wire to cloudpickle.loads(). Pickle is not a safe format for untrusted data, and no cryptographic signing, length prefix validation, or type allowlist gates the call.

Attack Vector

Exploitation requires network reachability to the Xoscar actor-pool TCP port. The attacker crafts a pickle payload containing a __reduce__ gadget that returns a command execution callable. Sending the payload over an unauthenticated socket connection causes the server to execute the embedded callable during deserialization. No credentials, user interaction, or prior foothold are required.

Technical details and the vulnerable code segments are documented in the VulnCheck Security Advisory, the socket receive handler, and the serialization core.

Stop Remote Code Execution Before It Runs

Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.

Stop Exploit Attempts

Detection Methods for CVE-2026-49950

Indicators of Compromise

  • Unexpected child processes spawned by the Xoscar Python interpreter, especially shells, curl, wget, or compiler toolchains
  • Outbound network connections from GPU nodes to attacker-controlled infrastructure shortly after inbound traffic to the actor-pool port
  • New cron jobs, systemd units, or SSH authorized keys created under the account running the Xoscar service

Detection Strategies

  • Inspect network traffic to Xoscar actor-pool TCP ports for payloads beginning with pickle opcodes such as \\x80\\x04 from untrusted sources
  • Alert on cloudpickle or pickle.loads call stacks that precede process creation events in the Xoscar worker process
  • Correlate inbound socket activity on actor-pool ports with subsequent execution of interactive shells or interpreter subprocesses

Monitoring Recommendations

  • Enable process-execution telemetry on all GPU and ML nodes running Xoscar and forward it to a central analytics platform
  • Monitor for Xoscar listener exposure on interfaces reachable from untrusted networks using periodic port scans
  • Baseline normal child-process patterns of the Xoscar service and alert on deviations

How to Mitigate CVE-2026-49950

Immediate Actions Required

  • Restrict the Xoscar actor-pool TCP port to trusted management networks using host firewalls or network ACLs
  • Run the Xoscar service as a dedicated unprivileged user rather than root wherever feasible
  • Audit GPU nodes for signs of exploitation using the indicators listed above

Patch Information

No fixed version is referenced in the published advisory data for CVE-2026-49950. All releases through 0.11.2 are affected. Monitor the Xorbits Xoscar repository and the VulnCheck Security Advisory for an official fix, and upgrade as soon as a patched release is available.

Workarounds

  • Place Xoscar nodes behind a VPN or private subnet and block the actor-pool port at the perimeter
  • Enforce mutual TLS or an IPsec tunnel between Xoscar nodes to prevent unauthenticated peers from reaching the socket channel
  • Disable or avoid deploying the socket backend on hosts exposed to shared or multi-tenant networks
bash
# Example: restrict Xoscar actor-pool port to a trusted management subnet
# Replace <xoscar-port> and <trusted-cidr> with site-specific values
iptables -A INPUT -p tcp --dport <xoscar-port> -s <trusted-cidr> -j ACCEPT
iptables -A INPUT -p tcp --dport <xoscar-port> -j DROP

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

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.