Patchfirst
CVE-2025-10164 High · 7.3 EPSS 0.4%

lmsys sglang update_weights_from_tensor main deserialization

Fix:upgrade sglang to 0.5.4 or later Details ↓

lmsys · sglang

Summary

A deserialization flaw exists in the main function handling the /update_weights_from_tensor endpoint of lmsys SGLang 0.4.6, where manipulating the serialized_named_tensors argument is processed without adequate validation. An remote attacker with no privileges and no user interaction can exploit this over the network under default conditions to affect confidentiality, integrity and availability.

Official description · CVE.org

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.

Breakdown
52.6 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 11 months after disclosure.

  1. Disclosedday 0
  2. First seen exploitedVulnCheck KEV evidence+11 mo

4 fixes in sglang over 6 months. The latest fix listed for sglang is 0.5.10.

Fixes in sglangPyPI package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 0.5.4CVE-2025-101649 Sep 2025
  2. 0.5.10CVE-2026-305912 Mar 2026
  3. 0.5.10CVE-2026-306012 Mar 2026
  4. 0.5.10CVE-2026-398912 Mar 2026Latest listed

Affected versions and fixes

as published in the CVE record

lmsys sglang

Affected: 0.4.6

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: sglang.

Upgrade to 0.5.4 or later

pippip install "sglang>=0.5.4"

The first fix for CVE-2025-10164. No other CVE tracked by Patchfirst affects this package.

Affected versions

If you runUpgrade to
All versions before 0.5.40.5.4

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

References

3 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close