# CVE-2025-10164: PYSEC-2026-1919 - SGLang Remote Code Execution Vulnerability via Unsafe Deserialization in update_weights_from_tensor

Source: https://junglewise.ai/threats/cve-2025-10164-sglang-remote-code-execution-vulnerability-via-unsafe  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-07  
License: CC BY 4.0 with a link back

CVE-2025-10164 · Severity: low · CVSS 3.1 · Published 2026-07-07

SGLang Remote Code Execution Vulnerability via Unsafe Deserialization in update_weights_from_tensor

Technologies: [sglang (PyPI)](https://junglewise.ai/threats/technologies/pypi-sglang). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2025-10164 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-10164 being exploited in the wild.

**How severe is CVE-2025-10164?** Low severity, with a CVSS score of 3.1, published 7 July 2026.

**Which products and versions are affected?** sglang (PyPI) ECOSYSTEM:introduced=0,fixed=0.5.4.

**Is there a fix for CVE-2025-10164?** Yes. sglang (PyPI): upgrade to 0.5.4 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-10164?** Check whether you run sglang (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- sglang (PyPI): upgrade to 0.5.4 or later

  ```sh
  pip install "sglang>=0.5.4"
  ```


## Affected products

- sglang (PyPI) ECOSYSTEM:introduced=0,fixed=0.5.4

## Identifiers

- CVE-2025-10164
- GHSA-9w53-xr52-mwgj
- PYSEC-2026-1919

## Related threats

- [SGLang's multimodal generation module is vulnerable to unauthenticated remote code execution through the ZMQ broker](https://junglewise.ai/threats/cve-2026-3059-sglang-s-multimodal-generation-module-is-vulnerable-to)
- [PYSEC-2026-537 - SGLang's encoder parallel disaggregation system is vulnerable to unauthenticated remote code…](https://junglewise.ai/threats/cve-2026-3060-sglang-s-encoder-parallel-disaggregation-system-is-vulnerable-to)
- [sgl-project SGLang denial of service in Cache Handler](https://junglewise.ai/threats/cve-2026-10775-sgl-project-sglang-denial-of-service-in-cache-handler)
- [SGLang reachable assertion in LoRA manager scheduler admission](https://junglewise.ai/threats/cve-2026-10300-sglang-reachable-assertion-in-lora-manager-scheduler-admission)
- [SGLang RCE via unsafe deserialization in custom logit processor](https://junglewise.ai/threats/cve-2026-7304-sglang-rce-via-unsafe-deserialization-in-custom-logit-processor)
