Skip to main content

Sglang CVE-2026-3059

CRITICAL
Deserialization of Untrusted Data (CWE-502)
2026-03-12 cret@cert.org GHSA-rgq9-fqf5-fv58
9.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send crafted serialized Python object
  2. Exploit
    ZMQ broker deserializes with pickle.loads()
  3. Execution
    Execute arbitrary Python code
  4. Impact
    Compromise SGLang server

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

No special conditions — remote unauthenticated exploitation against SGLang instances with exposed ZMQ broker endpoint accepting multimodal generation requests on default network configurations.

Impact

CVSS 9.8 (Critical). Network vector, no auth, low complexity. ML inference servers often run with elevated privileges and GPU access. EPSS 0.55%.

Exploit ScenarioDerived

An attacker connects to SGLang's exposed ZMQ port and sends a crafted pickle payload that executes a reverse shell. They gain access to the ML inference server, which may contain proprietary models and training data.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 12, 2026

SGLang's multimodal generation module deserializes untrusted data with pickle.loads() over an unauthenticated ZMQ broker, enabling remote code execution. Any attacker who can reach the ZMQ port can execute arbitrary Python code on the ML inference server.

Earlier versions of this analysis (1)
v1 Mar 12, 2026 - 19:57 CVSS 9.8

SGLang uses pickle deserialization over an unauthenticated ZMQ socket in the multimodal generation module, enabling unauthenticated RCE.

RemediationAI

Restrict ZMQ ports to localhost or trusted networks only. Replace pickle with a safe serialization format (e.g., JSON, MessagePack). Add authentication to the ZMQ broker.

Affected Packages

pypi sglang fix: 0.5.10

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The ZMQ message broker in SGLang's multimodal pipeline accepts serialized Python objects via pickle.loads() without authentication or input validation (CWE-502). Pickle deserialization is inherently unsafe with untrusted data, as an attacker can craft payloads that execute arbitrary code during deserialization.

Know when Sglang gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch released
Apr 08, 2026 - 02:30 nvd
Patch available
CVE Published
Mar 12, 2026 - 12:15 nvd
CRITICAL 9.8

DescriptionCVE.org

SGLang's multimodal generation module is vulnerable to unauthenticated remote code execution through the ZMQ broker, which deserializes untrusted data using pickle.loads() without authentication.

Executive ViewAI

Why It Matters

A critical remote code execution vulnerability in SGLang's multimodal generation module allows unauthenticated attackers to execute arbitrary code on affected systems with a 9.8 CVSS score. Organizations using SGLang in production environments face immediate risk of system compromise, data theft, and operational disruption, with no vendor patch currently available.

Business Impact: Severe
Compensating Controls

Implement network segmentation to restrict ZMQ broker access to trusted internal networks only; disable external exposure of the SGLang service; deploy intrusion detection signatures monitoring for pickle deserialization exploits; implement strict firewall rules limiting connections to the ZMQ broker port; consider disabling the multimodal generation module if not essential until patch availability; monitor for vendor security advisories and prepare immediate patching procedure once available.

Threat Intelligence Overview

EPSS Score
0.5%
Top 32% exploitable
Threat Intel
1
1 sources
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS GHSA GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Affected Products (CPE)CVE.org

cpe:2.3:a:lmsys:sglang:*:*:*:*:*:*:*:*

Related Vulnerabilities in SGLang Unsafe Deserialization RCE

View all 3

More in Sglang

View all
CVE-2026-127222 HIGH POC
8.7 Nov 18

Missing authorization on SGLang's POST /load_lora_adapter_from_tensors HTTP endpoint lets any client that can reach the

CVE-2026-112082 HIGH POC
7.7 Oct 19

Unauthenticated remote attackers can crash the SGLang inference server (versions up to and including 0.5.19) by calling

CVE-2026-15969 CRITICAL
9.8 Jul 30

Remote code execution in SGLang (versions up to and including 0.5.15) allows unauthenticated attackers to run arbitrary

CVE-2026-7304 CRITICAL
9.8 May 18

Unauthenticated remote code execution in SGLang (the LLM/multimodal generation serving runtime) affecting version 5.10 a

CVE-2026-5760 CRITICAL
9.8 Apr 20

Remote code execution in SGLang 0.5.9's /v1/rerank endpoint allows unauthenticated attackers to execute arbitrary code b

CVE-2026-15976 CRITICAL
9.8 Jul 30

Remote code execution in SGLang (versions up to and including 0.5.15) allows attackers to run arbitrary code on the infe

CVE-2026-86793 CRITICAL
9.8 Sep 11

Remote code execution in SGLang AI inference servers allows unauthenticated attackers to run arbitrary code through the

CVE-2026-15971 CRITICAL
9.8 Jul 30

Remote code execution in SGLang (versions ≤ v0.5.15) allows attackers to achieve arbitrary code execution through the op

CVE-2026-7301 CRITICAL
9.8 May 18

Unauthenticated remote code execution affects SGLang, an LLM/multimodal inference-serving framework, at version 5.10, wh

CVE-2026-93034 CRITICAL
9.8 Oct 08

Unauthenticated remote code execution in SGLang versions through v0.5.20 arises from unsafe pickle deserialization in th

CVE-2026-93088 CRITICAL
9.8 Sep 22

Unauthenticated remote code execution in SGLang 0.5.11 through 0.5.14 occurs when the multimodal generation runtime is l

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy