Deserialization of Untrusted Data Affecting sglang package, versions [0.5.5,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.53% (72nd 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-15470987
  • published12 Mar 2026
  • disclosed12 Mar 2026
  • creditIgor Stepansky

Introduced: 12 Mar 2026

CVE-2026-3059  (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 due to the use of the pickle.loads function. An attacker can execute arbitrary code by sending malicious serialized payloads to the exposed ZMQ REP socket, as received data is deserialized without authentication, message validation, or transport protection. This allows malicious pickle payloads to be executed immediately upon deserialization.

CVSS Base Scores

version 4.0
version 3.1