Skip to main content

LMDeploy EUVDEUVD-2026-62972

| CVE-2026-76850 CRITICAL
Deserialization of Untrusted Data (CWE-502)
2026-08-19 VulnCheck GHSA-q66m-3fcg-jjh7
9.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach unauthenticated LMDeploy API server
  2. Delivery
    POST /distserve/p2p_connect with attacker zmq_address
  3. Exploit
    Engine PULL socket connects to attacker endpoint
  4. Execution
    recv_pyobj() runs pickle.loads() on payload
  5. Persist
    Arbitrary code executes in engine process
  6. Impact
    Full host/model compromise

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target run LMDeploy's disaggregated (P2P) serving mode - the vulnerable handle_zmq_recv receive loop only starts once the migration backend accepts a connection, so single-node/non-disaggregated deployments are not affected. It also requires the OpenAI-compatible API server to be started WITHOUT api_keys (the default is None), leaving /distserve/p2p_initialize and /distserve/p2p_connect unauthenticated; if api_keys is set, the attacker must possess a valid key. Given those conditions, no further prerequisites apply - the CVSS is AV:N/AC:L/PR:N/UI:N, so a remote unauthenticated attacker who can reach the endpoint can supply a caller-controlled zmq_address and trigger pickle deserialization. Limiting factors that reduce real-world exposure: the non-default disaggregated-serving requirement, network reachability of the API server and ZMQ ports, and whether api_keys authentication has been enabled.

Impact

This is a genuine high-priority issue rather than an inflated CVSS score. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N with VC:H/VI:H/VA:H, base 9.3) is consistent with the described attack: network-reachable, no authentication in the default deployment, no user interaction, and full compromise of the engine process via arbitrary code execution. The one meaningful mitigating factor not captured in the base score is a deployment prerequisite: disaggregated serving must be enabled, because the receive loop only starts after the migration backend accepts a connection - so standard single-node deployments are not exposed. There is no EPSS value provided and no CISA KEV listing, so exploitation-probability signals are absent; the deserialization pattern is well understood and trivially weaponizable once reachable, so absence of a published POC should not be read as low real-world risk. Any operator running LMDeploy with disaggregated serving exposed on a network without api_keys should treat this as urgent and patch immediately. Note the conflict to verify: CVSS implies unauthenticated network exploitation of defaults, but exploitation actually requires the non-default disaggregated-serving mode to be active - defenders should confirm their deployment mode before ranking this against other network-vector RCEs.

Exploit ScenarioDerived

An attacker who can reach an internet- or LAN-exposed LMDeploy API server running disaggregated serving without api_keys sends a POST to /distserve/p2p_connect with a request body whose remote_engine_endpoint_info.zmq_address points at a ZMQ endpoint the attacker controls. The victim engine connects its PULL socket and calls recv_pyobj() on the attacker-supplied bytes, and a crafted pickle payload executes arbitrary code in the engine process. No public POC is identified at time of analysis, but the pattern is straightforward to weaponize given the low complexity (AC:L) and lack of authentication.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 1.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 19, 2026

Unauthenticated remote code execution in InternLM LMDeploy (versions 0.9.2 through 0.15.x) allows a remote attacker to execute arbitrary code inside an inference engine process when disaggregated (P2P) serving is enabled. The disaggregation peer-connector deserializes attacker-influenced ZMQ messages with Python pickle before any type validation, and the /distserve/p2p_initialize and /distserve/p2p_connect endpoints require no authentication in the default configuration (api_keys=None). Reported by VulnCheck with a vendor advisory and a public patch; no public exploit or CISA KEV listing identified at time of analysis, though the code path and fix are publicly documented on GitHub.

RemediationAI

Vendor-released patch: upgrade to LMDeploy v0.16.0 or later, which replaces the pickle-based recv_pyobj()/send_pyobj() wire format with JSON plus Pydantic schema validation (commit f05b4ad8bf2e2d84101a1d63b3c44fadd99223b2; release https://github.com/InternLM/lmdeploy/releases/tag/v0.16.0). If you cannot upgrade immediately, apply these specific compensating controls: set api_keys on the API server so the /distserve/p2p_initialize and /distserve/p2p_connect endpoints require authentication (they are unauthenticated when api_keys defaults to None) - trade-off is that all API clients must now present keys; disable disaggregated serving if not required, which fully removes the attack surface since the ZMQ receive loop never starts - trade-off is losing prefill/decode disaggregation performance; and restrict network access to the API server and the disaggregation ZMQ ports to trusted hosts only (firewall/segment them off the internet), so an attacker cannot direct the engine to pull from an endpoint they control. Refer to the VulnCheck advisory and GitHub issue #4804 for details.

Affected VersionsENISA

LMDeploy 0.9.2 <0.16.0

Affected Packages

euvd lmdeploy fix: 0.16.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

LMDeploy is InternLM's LLM inference and serving toolkit; the affected component is its PyTorch-backend disaggregated-serving feature, which splits prefill and decode across engines that exchange cache/session messages over ZeroMQ. The root cause is CWE-502 (Deserialization of Untrusted Data): handle_zmq_recv in lmdeploy/pytorch/disagg/conn/engine_conn.py calls recv_pyobj(), which internally runs pickle.loads() on the received bytes, and the isinstance check against DistServeCacheFreeRequest happens only after the object has already been reconstructed - meaning malicious pickle payloads execute during deserialization, before validation can reject them. Because p2p_connect connects a ZMQ PULL socket to remote_engine_endpoint_info.zmq_address taken directly from the caller-supplied request body, the attacker controls which endpoint the engine pulls (and therefore unpickles) bytes from. The vendor fix (commit f05b4ad, v0.16.0) replaces send_pyobj/recv_pyobj with JSON on the wire (send_json/recv_json plus Pydantic model_validate), eliminating the pickle code-execution path. Affected product per CPE: cpe:2.3:a:internlm:lmdeploy.

Know when Lmdeploy gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 9.3 CRITICAL
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
vuln.today AI 9.8 CRITICAL

Remote, unauthenticated, low-complexity pickle RCE in default (no api_keys) config yields PR:N/AC:L/AV:N; arbitrary code execution in the engine gives full C:H/I:H/A:H, scope unchanged.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

InternLM LMDeploy versions 0.9.2 through 0.15.x are vulnerable to unauthenticated remote code execution when P2P disaggregated serving is enabled, allowing attackers to execute arbitrary code directly in the inference engine without credentials. Any organization deploying these versions to run AI models in production is at immediate risk of infrastructure compromise, model theft, and service disruption. Leadership should treat this as a critical vulnerability requiring immediate patching.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
1.0%
Top 40% exploitable
Prevalence
Medium
popular open-source LLM inference toolkit, but disaggregated serving is non-default
Social Media
5
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 1.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2025-59953 CRITICAL POC
9.8 Sep 16

Remote code execution in InternLM LMDeploy versions 0.9.1 through 0.10.1 allows unauthenticated network attackers to run

CVE-2026-33626 HIGH POC
7.5 Apr 20

Server-Side Request Forgery (SSRF) in InternLM LMDeploy's vision-language module allows remote unauthenticated attackers

CVE-2026-119706 CRITICAL
9.3 Oct 30

Unauthenticated remote code execution in InternLM LMDeploy versions 0.9.0 through 0.18.0 lets remote attackers run arbit

CVE-2025-67729 HIGH
8.8 Dec 26

Arbitrary code execution in InternLM LMDeploy 0.11 and earlier: the toolkit calls torch.load() without weights_only=True

CVE-2025-3162 MEDIUM POC
4.8 Apr 03

A vulnerability was found in InternLM LMDeploy up to 0.7.1. Rated medium severity (CVSS 4.8), this vulnerability is low

CVE-2025-3163 MEDIUM POC
4.8 Apr 03

A vulnerability was found in InternLM LMDeploy up to 0.7.1. Rated medium severity (CVSS 4.8), this vulnerability is low

CVE-2026-92971 HIGH
8.7 Sep 17

Denial of service in InternLM LMDeploy through 0.17.0 lets unauthenticated remote attackers crash the distributed infere

CVE-2026-92983 HIGH
8.7 Sep 17

Memory exhaustion in InternLM LMDeploy through 0.17.0 can be triggered by unauthenticated remote attackers who send repe

CVE-2026-63764 HIGH
7.7 Jul 21

Server-side request forgery in InternLM lmdeploy's OpenAI-compatible vision API server lets unauthenticated remote attac

CVE-2026-123818 HIGH
7.5 Nov 09

Server-side request forgery in LMDeploy 0.12.3 through 0.14.x lets remote unauthenticated clients steer the server's mul

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy