INCIDENT MAP

Browse / Unsafe Model Loading and Supply Chain / CVE-2025-10164

SGLang Remote Code Execution Vulnerability via Unsafe Deserialization in update_weights_from_tensor

CVE-2025-10164 ยท 2025-09-09 moderate

Class
Unsafe Model Loading and Supply Chain (filed by a model that read the advisory)
Technique
Unsafe deserialisation
Affected
sglang (PyPI)
CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS
0.4% chance of exploitation in 30 days

How it works, in short

The weight-update endpoint deserialises attacker-supplied tensor payloads unsafely, letting a remote caller run code on the server. (Our summary, written by a model. The source text is below.)

Details

A security flaw has been discovered in lmsys sglang 0.4.6. Affected by this vulnerability is the function main of the file /update_weights_from_tensor. The manipulation of the argument serialized_named_tensors results in deserialization. The attack can be launched remotely. The exploit has been released to the public and may be exploited. The vendor was contacted early about this disclosure but did not respond in any way.

References

Source: GitHub Advisory Database, used under CC BY 4.0.