LMDeploy Remote Code Execution via Unsafe Pickle Deserialization in the Disaggregated Serving Peer Connector
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-502.
Summary
LMDeploy deserializes disaggregated-serving peer messages with pickle. The handle_zmq_recv coroutine in lmdeploy/pytorch/disagg/conn/engine_conn.py reads peer-to-peer cache-free requests with recv_pyobj(), which deserializes the received bytes with pickle.loads(), and the isinstance check against DistServeCacheFreeRequest runs only after deserialization has already completed. The peer that supplies those bytes is caller-controlled: p2p_connect passes remote_engine_endpoint_info.zmq_address from the request body to connect() on the ZMQ PULL socket, and the POST /distserve/p2p_initialize and /distserve/p2p_connect endpoints in lmdeploy/serve/openai/api_server.py apply no authentication unless the server is started with api_keys, which defaults to None. A remote attacker can direct an engine to pull from a ZMQ endpoint under their control and execute arbitrary code in the engine process. Deployments that do not enable disaggregated serving are not affected, because the receive loop is only started once the migration backend accepts the connection.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA lmdeploy (InternLM) Fixed in 0.16.0
Timeline
- 2026-10-02 Threatist record created from CVE-2026-76850
- 2026-10-03 Alias added: GHSA-q66m-3fcg-jjh7
References
More InternLM vulnerabilities
- TI-2026-67516 InternLM MindSearch Planner Agent graph.py ExecutionAction.run code injection CVSS 4.0CRITICAL 10.0
- TI-2025-37341 LMdeploy has Remote Code Execution by Pickle Deserialization via zmq_rpc.call_and_response() in InterLM/lmdeploy CVSS 3.1CRITICAL 9.8
- TI-2026-83181 Unauthenticated RCE in InternLM LMDeploy via pickle deserialization CVSS 4.0CRITICAL 9.3
- TI-2026-62637 InternLM LMDeploy through 0.17.0 Memory Exhaustion via Session ID Mismatch CVSS 4.0HIGH 8.7
- TI-2026-62632 InternLM LMDeploy through 0.17.0 Assertion Denial of Service CVSS 4.0HIGH 8.7
- TI-2026-45351 LMDeploy Server-Side Request Forgery via HTTP Redirect Bypass CVSS 4.0HIGH 7.7
Sources
- CVE-2026-76850 · CVE Program
- CVE-2026-76850 · NVD
- FIRST EPSS
- GHSA-q66m-3fcg-jjh7 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences