Deserialization in Internlm Lmdeploy
CVE-2026-76850
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.
Vulnerability class: Insecure Deserialization
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.013 (68.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 69th percentile — 68.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.010 · newest: 0.013 · change: +0.003
Affected products
Weakness classification (CWE)
References
- github.com/InternLM/lmdeploy/issues/4804 (issue-tracking)
- github.com/InternLM/lmdeploy/commit/f05b4ad8bf2e2d84101a1d63b3c44fadd99223b2 (patch)
- github.com/InternLM/lmdeploy/blob/v0.15.0/lmdeploy/pytorch/disagg/conn/engine_c… (technical-description)
- github.com/InternLM/lmdeploy/blob/v0.15.0/lmdeploy/pytorch/disagg/conn/engine_c… (technical-description)
- github.com/InternLM/lmdeploy/releases/tag/v0.16.0 (release-notes)
- github.com/InternLM/lmdeploy (product)
- www.vulncheck.com/advisories/lmdeploy-remote-code-execution-via-unsafe-pickle-d… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-76850?
- CVE-2026-76850 is a critical-severity vulnerability in Internlm Lmdeploy, classified under Deserialization of Untrusted Data. CVSS score: 9.8/10. Published 2026-08-19.
- How severe is CVE-2026-76850?
- Critical severity. CVSS v3 base score is 9.8 out of 10.