CVE-2026-3059: SGLang Remote Code Execution Vulnerability via ZMQ Broker

sglang Updated 14 Mar 2026

Summary

12/03/2026
No i
Critical
9.8

CVE-2026-3059: 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. Affects sglang versions < 0.5.9. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

SGLang is a multimodal generation module designed for various applications, enabling users to generate content across different formats. It leverages the ZeroMQ (ZMQ) messaging library for communication. However, a critical vulnerability has been identified in its handling of untrusted data, exposing it to potential remote code execution attacks.

Vulnerability Detail

The vulnerability in SGLang arises from its use of the pickle.loads() function to deserialize untrusted data received through the ZMQ broker. This lack of authentication allows an attacker to send malicious payloads that can be executed on the server, leading to unauthorized access and control over the system. The severity of this vulnerability is underscored by its CVSS score of 9.8, indicating a critical risk to affected systems.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, you can disable the ZMQ broker or implement strict input validation to prevent untrusted data from being processed. However, this is not a permanent solution and should be followed by applying the patch as soon as possible.

Conclusion

The CVE-2026-3059 vulnerability in SGLang poses a significant risk due to its potential for remote code execution. Users are strongly advised to update to the latest version to mitigate this risk. Utilizing tools like Vulert can further enhance your security posture by providing ongoing monitoring for vulnerabilities.

See every vulnerability recorded for sglang →

Share this vulnerability

FAQ

The vulnerability allows unauthenticated remote code execution through the deserialization of untrusted data.

You can use the Vulert playground to check if your application is affected by this vulnerability without any signup required.

An attacker could gain unauthorized access to the system, execute arbitrary code, and potentially compromise sensitive data.

Yes, updating to version 0.6.0 or later of the SGLang package addresses the vulnerability.

Vulert monitors and alerts for open-source vulnerabilities in your software using just the Pipfile.lock, providing real-time insights.

Related vulnerabilities

Recent vulnerabilities recorded for sglang.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback