Deserialization of Untrusted Data Affecting sglang package, versions [0,0.5.10.post1)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
1.16% (63rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Deserialization of Untrusted Data vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-SGLANG-15470991
  • published12 Mar 2026
  • disclosed12 Mar 2026
  • creditIgor Stepansky

Introduced: 12 Mar 2026

CVE-2026-3060  (opens in a new tab)
CWE-502  (opens in a new tab)

How to fix?

Upgrade sglang to version 0.5.10.post1 or higher.

Overview

sglang is a SGLang is a fast serving framework for large language models and vision language models.

Affected versions of this package are vulnerable to Deserialization of Untrusted Data via the encode_receiver.py message handling logic in the encoder parallel disaggregation system. An attacker can execute arbitrary code by sending crafted payloads to the ZMQ socket when the encoder_transfer_backend zmq_to_scheduler option is enabled. The receiver binds to tcp://* and directly passes received data to pickle.loads() without authentication or validation, allowing malicious serialized objects to be deserialized and executed.

CVSS Base Scores

version 4.0
version 3.1