Skip to main content
Mallory
MediumPublic exploitVulnerability

CVE-2025-10164: RCE via unsafe deserialization in lmsys sglang 0.4.6 /update_weights_from_tensor

Published Sep 9, 2025 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS5.5Medium · v4
EPSS0.42%37th percentile
CISA KEVNoNot listed
In the wildReported25 exploitation records in Mallory
IdentifiersCVE-2025-10164CWE-502 · Deserialization of Untrusted Data

In lmsys sglang 0.4.6, the /update_weights_from_tensor endpoint (function main) is vulnerable to unsafe deserialization due to improper handling of the serialized_named_tensors argument. A remote attacker can supply crafted serialized data that is deserialized by the service, enabling remote exploitation. Public exploit code is reported as available.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Remote code execution on the SGLang inference server via unsafe deserialization in the /update_weights_from_tensor endpoint, potentially leading to full compromise of the host running the service (including access to model-serving infrastructure and any reachable internal resources from that host).

Mitigation

If you can’t patch tonight, do this now.

Restrict network exposure of the SGLang service (do not expose /update_weights_from_tensor to untrusted networks), enforce strong authentication/authorization on administrative/model-update endpoints, and place the service behind a reverse proxy/WAF with request filtering to block unexpected serialized payloads. Run the inference service with least privilege and strong container/VM isolation to reduce blast radius if exploited.

Remediation

Patch, then assume compromise.

Upgrade/patch SGLang to a vendor-fixed release that removes or hardens deserialization in /update_weights_from_tensor (e.g., by eliminating unsafe deserialization of attacker-controlled data and enforcing strict input validation/allowlisting). If no fixed version is available in the provided content, obtain and apply the upstream patch addressing CVE-2025-10164.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
FAQ

Frequently asked questions

Is CVE-2025-10164 exploited in the wild?
Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
Is there a public exploit for CVE-2025-10164?
Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2025-10164.
Is there a patch for CVE-2025-10164?
Upgrade/patch SGLang to a vendor-fixed release that removes or hardens deserialization in /update_weights_from_tensor (e.g., by eliminating unsafe deserialization of attacker-controlled data and enforcing strict input validation/allowlisting). If no fixed version is available in the provided content, obtain and apply the upstream patch addressing CVE-2025-10164.
How severe is CVE-2025-10164?
CVE-2025-10164 has a CVSS v4 score of 5.5 (Medium) and an EPSS score of 0.42% (37th percentile) as of Oct 16, 2026.
Activity feed

Recent activity

1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signatures1YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.