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

CVE-2026-7301: Lmsys Sglang RCE Vulnerability

CVE-2026-7301 is a remote code execution flaw in Lmsys Sglang's scheduler that uses unsafe pickle.loads() on network messages. Attackers can exploit this to execute arbitrary code. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published: May 21, 2026

CVE-2026-7301 Overview

CVE-2026-7301 is an insecure deserialization vulnerability [CWE-502] in SGLang, the LLM serving runtime maintained by LMSYS. The multimodal generation runtime scheduler exposes a ZeroMQ ROUTER socket that binds to 0.0.0.0 by default. The socket processes incoming messages through a sink that calls pickle.loads() without validation. Unauthenticated attackers can send a crafted pickle payload over the network to achieve remote code execution on the host running the scheduler. The flaw affects SGLang version 0.5.10 and is reachable whenever the scheduler is exposed to untrusted networks.

Critical Impact

Unauthenticated remote attackers can execute arbitrary code on any SGLang inference host whose scheduler socket is reachable over the network.

Affected Products

  • LMSYS SGLang 0.5.10
  • SGLang multimodal generation runtime scheduler
  • Deployments exposing the scheduler ROUTER socket on 0.0.0.0

Discovery Timeline

  • 2026-05-18 - CVE-2026-7301 published to the National Vulnerability Database (NVD)
  • 2026-05-19 - Last updated in NVD database

Technical Details for CVE-2026-7301

Vulnerability Analysis

SGLang's multimodal generation runtime uses a scheduler process that communicates with worker components through a ZeroMQ ROUTER socket. Two design decisions combine to create remote code execution exposure. First, the socket binds to 0.0.0.0, accepting connections from any network interface rather than a loopback or restricted address. Second, the message sink hands raw inbound bytes to Python's pickle.loads() for deserialization.

Python pickle deserialization is documented as unsafe for untrusted input. The pickle format supports opcodes such as REDUCE that instantiate arbitrary callables during unpickling. An attacker can construct a payload that triggers execution of operating system commands the moment the scheduler decodes the message.

Root Cause

The root cause is the combination of an unauthenticated network listener and unsafe deserialization on its inputs. Treating the inter-process channel as trusted while binding it to all interfaces removes the network boundary that the design assumed. No authentication, signing, or schema validation gates the pickle stream before pickle.loads() runs.

Attack Vector

The attack vector is network-based and requires no privileges or user interaction. An attacker locates an SGLang scheduler exposed on the default ZeroMQ port, opens a DEALER connection to the ROUTER socket, and transmits a malicious pickle frame. Upon receipt, the sink calls pickle.loads(), executing the embedded __reduce__ payload as the SGLang process user. Cloud-hosted inference servers and GPU clusters that bind the scheduler to public interfaces are directly exploitable.

No verified public exploit code is currently catalogued. Technical details are described in the AntiProof blog on three RCEs in SGLang and the SGLang GitHub repository.

Detection Methods for CVE-2026-7301

Indicators of Compromise

  • SGLang scheduler processes spawning unexpected child processes such as sh, bash, python, or curl.
  • Outbound network connections from the SGLang host to attacker-controlled infrastructure following inbound traffic on the scheduler port.
  • ZeroMQ ROUTER sockets bound to 0.0.0.0 on hosts running SGLang 0.5.10.
  • Anomalous pickle opcodes such as c__builtin__\nexec or cposix\nsystem in captured scheduler traffic.

Detection Strategies

  • Inventory SGLang deployments and identify any scheduler instance whose listening socket is reachable from non-loopback addresses.
  • Inspect process trees for pickle.loads() execution paths that lead to shell or interpreter children under the SGLang service account.
  • Correlate network telemetry with process telemetry to flag inbound connections on scheduler ports followed by new process creation events.

Monitoring Recommendations

  • Alert on any new outbound connection initiated by the SGLang scheduler process to non-cluster destinations.
  • Monitor for binds to 0.0.0.0 by Python processes serving model inference workloads.
  • Log and review ZeroMQ traffic for non-cluster source addresses contacting the scheduler.

How to Mitigate CVE-2026-7301

Immediate Actions Required

  • Restrict the SGLang scheduler ROUTER socket to 127.0.0.1 or a private cluster interface using firewall rules or host-level binding configuration.
  • Place SGLang inference hosts behind a network policy that denies all ingress on scheduler ports from outside the trusted compute network.
  • Audit cloud security groups, Kubernetes NetworkPolicy objects, and ingress controllers for any rules that expose SGLang ports to the internet.
  • Rotate credentials and inspect for post-exploitation artifacts on any host whose scheduler was previously exposed.

Patch Information

No vendor advisory or fixed version is listed in the NVD record at the time of publication. Monitor the SGLang GitHub repository for an updated release that replaces pickle.loads() with a safe serialization format and changes the default bind address. Until a patched release is available, treat all SGLang 0.5.10 deployments as vulnerable.

Workarounds

  • Override the scheduler bind address to 127.0.0.1 and route worker traffic through an authenticated reverse proxy or SSH tunnel.
  • Run SGLang inside a network namespace or container with no external interfaces attached to the scheduler port.
  • Apply host firewall rules with iptables or nftables to drop traffic to the scheduler port from all addresses except known worker hosts.
bash
# Restrict scheduler port to loopback only (replace 30000 with your scheduler port)
sudo iptables -A INPUT -p tcp --dport 30000 ! -s 127.0.0.1 -j DROP
sudo iptables -A INPUT -p tcp --dport 30000 -s 127.0.0.1 -j ACCEPT

# Verify no SGLang process is binding to 0.0.0.0
ss -tlnp | grep -E 'python|sglang'

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechLmsys Sglang

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.05%

  • 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
  • AntiProof Blog on RCEs

  • GitHub SGLang Repository
  • Related CVEs
  • CVE-2026-7304: Lmsys Sglang RCE Vulnerability

  • CVE-2026-3059: Lmsys Sglang RCE Vulnerability

  • CVE-2026-7302: Lmsys Sglang Path Traversal 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