Sglang
CVE-2026-3059
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted serialized Python object
-
ExploitZMQ broker deserializes with pickle.loads()
-
ExecutionExecute arbitrary Python code
-
ImpactCompromise 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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)
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
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
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
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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
Related Vulnerabilities in SGLang Unsafe Deserialization RCE
View all 3Missing authorization on SGLang's POST /load_lora_adapter_from_tensors HTTP endpoint lets any client that can reach the
Unauthenticated remote attackers can crash the SGLang inference server (versions up to and including 0.5.19) by calling
Remote code execution in SGLang (versions up to and including 0.5.15) allows unauthenticated attackers to run arbitrary
Unauthenticated remote code execution in SGLang (the LLM/multimodal generation serving runtime) affecting version 5.10 a
Remote code execution in SGLang 0.5.9's /v1/rerank endpoint allows unauthenticated attackers to execute arbitrary code b
Remote code execution in SGLang (versions up to and including 0.5.15) allows attackers to run arbitrary code on the infe
Remote code execution in SGLang AI inference servers allows unauthenticated attackers to run arbitrary code through the
Remote code execution in SGLang (versions ≤ v0.5.15) allows attackers to achieve arbitrary code execution through the op
Unauthenticated remote code execution affects SGLang, an LLM/multimodal inference-serving framework, at version 5.10, wh
Unauthenticated remote code execution in SGLang versions through v0.5.20 arises from unsafe pickle deserialization in th
Unauthenticated remote code execution in SGLang 0.5.11 through 0.5.14 occurs when the multimodal generation runtime is l
GHSA-rgq9-fqf5-fv58
NVD
CVE.org
EPSS
VulDB
Exploit-DB