NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · SGLang

CVE-2026-7301: SGLanG: Multimodal scheduler deserializes untrusted pickle data on 0.0.0.0 ROUTER socket

criticalCVSS 3.1 9.8GHSA-gwv6-pq6m-p3rq

SGLang's multimodal generation runtime calls pickle.loads() on whatever arrives at its scheduler's ZeroMQ ROUTER socket. Anyone who can reach that socket can send a crafted pickle and run code on the server. SGLang 0.5.5 through 0.5.12 is affected, and no patched version exists. Do not expose the scheduler to untrusted networks.

Published May 18, 2026 · Updated May 29, 2026 · Analysis Oct 27, 2026

What an attacker can do

The scheduler in python/sglang/multimodal_gen/runtime/managers/scheduler.py (around lines 272-276) receives messages on a ZeroMQ ROUTER socket and deserializes them with pickle.loads(). Pickle runs code during loading, so a crafted payload gives code execution as the SGLang process. There is no authentication or validation before the call.

The code default for the host is 127.0.0.1. But the researchers note that SGLang's install documentation uses --host 0.0.0.0 in every serving example, and the Docker Compose file uses host networking. Many deployments are therefore reachable from the network. The multimodal generation runtime must be enabled for the socket to exist.

An attacker with network reach to the port needs no login. They get code execution on a GPU inference host, with access to model weights, API keys in the environment, cloud credentials, and neighbouring services. The maintainers did not respond during coordination, per the researchers. CERT/CC published VU#777338 on 2026-05-15.

Who is affected

SGLang from 0.5.5 up to and including 0.5.12, when the multimodal generation runtime is used and the scheduler socket is reachable. Check the version:

pip show sglang

Check your launch commands, Compose files and Helm values for --host 0.0.0.0 or host networking, and check listening ports with ss -tlnp.

sglang

Ecosystem
PyPI
Affected
>= 0.5.5, <= 0.5.12
Fixed in
No patched version yet
Check
pip show sglang

How to fix it

There is no official patch. The packages data lists no patched version, and the researchers say none is available. The only mitigation they give is to keep SGLang's service interfaces off untrusted networks.

In practice: bind to 127.0.0.1 or a private interface, remove --host 0.0.0.0 where it is not needed, avoid host networking in Docker, and use firewall or network-policy rules so only trusted hosts reach the scheduler port. Watch the SGLang releases for a fix after 0.5.12.

How to tell if you were hit

Look at network logs for connections to the SGLang scheduler port from hosts that are not part of your deployment. On the server, check for child processes of the sglang Python process that you did not expect, such as sh, curl or wget, and new files or cron entries. Review process environment access and outbound connections from the GPU host. Beam records the shell commands an AI agent runs, which helps if an agent shares the host.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

SGLang's multimodal generation runtime scheduler's ROUTER socket binds to 0.0.0.0 by default and contains a sink that calls pickle.loads() on incoming messages, enabling RCE when exposed to the internet.

Questions

Is SGLang 0.5.12 patched for CVE-2026-7301?

No. 0.5.12 is the last version listed as vulnerable, and the sources report no patched release. Reduce exposure by restricting network access to the scheduler.

Is the default configuration exposed?

The code default host is 127.0.0.1. But the project's documented serving examples use 0.0.0.0 and its Docker Compose file uses host networking, so many real deployments are reachable.

Does the attacker need to authenticate?

No. The scheduler passes the ZeroMQ message to pickle.loads() with no authentication, so network reach to the socket is enough.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology

More SGLang vulnerabilities

All SGLang entries