ZeroHour

CVE-2026-86793

niche

Unauthenticated RCE via Pickle Deserialization in SGLang Inference Server

CVSS 3.1
9.8 critical
EPSS
Published
()
Modified
AI analysis

SGLang, an open-source large language model inference server, is vulnerable to unauthenticated remote code execution through its /update_weights_from_tensor endpoint when no API/auth keys are configured. The endpoint deserializes attacker-supplied pickle data, and the SafeUnpickler guard intended to block dangerous operations can be bypassed because builtins.import and builtins.getattr remain resolvable, allowing arbitrary code execution via a pickle REDUCE operation. An unauthenticated attacker with network access to the server can send a crafted request and execute code in the context of the server process, fully compromising the host, model weights, and any data or prompts handled by the deployment. Any SGLang deployment running without authentication and reachable by untrusted networks is affected; version information was not specified in the advisory. There is no evidence of in-the-wild exploitation and no public proof of concept, though the flaw is straightforward for anyone familiar with pickle-based attacks to weaponize.

What to do: Immediately enable authentication by launching SGLang with API/auth keys configured so /update_weights_from_tensor is not reachable unauthenticated, and restrict server ports to trusted networks or VPN access rather than exposing them to the internet. Track the SGLang project for a patched release and upgrade once available. In the meantime, audit logs for unexpected POST requests to /update_weights_from_tensor and treat any previously internet-exposed unauthenticated instance as potentially compromised.

Affected
SGLang (sgl-project) SGLang
Estimated exposure
nichelikely hundreds to low thousands of internet-exposed SGLang servers, plus an unknown but larger number of internal/private deployments — SGLang is a popular open-source LLM serving framework (tens of thousands of GitHub stars) but is predominantly self-hosted on private GPU clusters, with only a small fraction of instances believed exposed to the public internet; no…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

SGLang allows unauthenticated pickle deserialization through /update_weights_from_tensor when no auth keys are configured, and the SafeUnpickler policy can be bypassed because builtins.import and builtins.getattr are resolvable, enabling code execution via pickle REDUCE.

Weakness
CWE-94
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

In the news

No ingested article mentions this CVE yet.