# CVE-2026-76850: LMDeploy Remote Code Execution via Unsafe Pickle Deserialization in the Disaggregated Serving Peer Connector

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.3
- **CVSS:** 9.3 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.41% (percentile 73, 2026-11-26)
- **CWE:** CWE-502
- **Published:** 2026-08-19T21:41:28.068Z
- **Modified:** 2026-09-24T20:06:30.133Z

## Who should check

- Anyone running InternLM lmdeploy \>= 0.9.2, \< 0.16.0

## Description

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.

## Affected and fixed versions

- InternLM lmdeploy: \>= 0.9.2, \< 0.16.0 (cvelist)

## Mitigation

- Upgrade lmdeploy to 0.16.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-76850. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-76850.md
Affected: InternLM lmdeploy >= 0.9.2, < 0.16.0
Fixed in: InternLM lmdeploy 0.16.0

Steps:
1. Search this machine and project for InternLM lmdeploy: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-76850 being exploited?

There is no confirmed exploitation: CVE-2026-76850 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 1.41% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-76850?

Critical: CVSS 9.3 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-76850?

InternLM lmdeploy \>= 0.9.2, \< 0.16.0.

### Is there a fix for CVE-2026-76850?

Yes. Fixed in InternLM lmdeploy 0.16.0. Upgrade lmdeploy to 0.16.0 or later.

### How do I check if I'm affected by CVE-2026-76850?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://github.com/InternLM/lmdeploy/commit/f05b4ad8bf2e2d84101a1d63b3c44fadd99223b2>
- exploit: <https://github.com/InternLM/lmdeploy/issues/4804>
- article: <https://github.com/InternLM/lmdeploy/blob/v0.15.0/lmdeploy/pytorch/disagg/conn/engine_conn.py#L79>
- article: <https://github.com/InternLM/lmdeploy/blob/v0.15.0/lmdeploy/pytorch/disagg/conn/engine_conn.py#L61>
- other: <https://github.com/InternLM/lmdeploy/releases/tag/v0.16.0>
- other: <https://github.com/InternLM/lmdeploy>
- other: <https://www.vulncheck.com/advisories/lmdeploy-remote-code-execution-via-unsafe-pickle-deserialization-in-the-disaggregated-serving-peer-connector>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-76850>

HTML: <https://flawdb.com/CVE-2026-76850> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-76850>
