LMdeploy has Remote Code Execution by Pickle Deserialization via zmq_rpc.call_and_response() in InterLM/lmdeploy
CVE-2025-59953 · GHSA-5h8j-6crg-7rmw · published 2026-09-16 · updated 2026-09-24
- Severity
- Critical
- CVSS score
- 9.8
- Chance of exploitation (EPSS)
- 0.88%
- Fixed in
- 0.10.2
- Exploitation Public proof of concept
- Automatable Yes
- Technical impact Total
- CISA SSVC
Remote code execution in the victim's machine over network. Once the victim starts the RPC server, an attacker on the network can gain arbitrary code execution by scanning and finding the victim’s service.
Upgrade lmdeploy to 0.10.2 or later.
(1)Sanitize data before pickle.loads it (e.g., rewrite Unpickler.find_class to set a whitelist), or use more secure deserialization methods such as safetensor or msgpack to replace the insecure pickle.loads. (2)Enable authentication in RPC services to ensure that only authenticated and trusted users are permitted to join the same cluster. LMdeploy.zip
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| lmdeploy | PyPI | >= 0.9.1, < 0.10.2 | 0.10.2 |
- CriticalSGLang: Unauthenticated RCE via --enable-custom-logit-processorsglang
- CriticalSGLanG: Multimodal scheduler deserializes untrusted pickle data on 0.0.0.0 ROUTER socketsglang
- Criticaln8n: HTTP Request Node Pagination Prototype Pollution to RCEn8n, n8n, n8n
- Criticaln8n Has an XML Node Prototype Pollution Patch Bypassn8n, n8n, n8n
- Criticaln8n has XML Node Prototype Pollution that to RCEn8n, n8n, n8n
- Criticaln8n has Prototype Pollution in XML Webhook Body Parser that Leads to RCEn8n, n8n, n8n
- CriticalLMDeploy has Remote Code Execution by Pickle Deserialization via handle_zmq_recv in lmdeploy/lmdeploy/pytorch/disagg/conn/engine_conn.pylmdeploy
- HighLMDeploy has an SSRF bypasslmdeploy
- HighLMDeploy vulnerable to arbitrary code execution via eval() of untrusted quant_dtype in model config loadinglmdeploy
- Highlmdeploy: Hardcoded trust_remote_code=True is an implicit unsafe remote-code load path with no user opt-outlmdeploy
- HighLMDeploy: Arbitrary code execution via hardcoded trust_remote_code=True in lmdeploy model initializationlmdeploy
- HighLMDeploy has Server-Side Request Forgery (SSRF) via Vision-Language Image Loadinglmdeploy
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.