CVE-2026-119706

LMDeploy 0.9.0 through 0.18.0 Unauthenticated RCE via /update_weights Pickle Deserialization

Published Oct 30, 2026 CVSS 4.0 · 9.3 Critical EPSS 1.0% KEV · Not listed
Description
InternLM LMDeploy 0.9.0 through 0.18.0 contains an unauthenticated remote code execution vulnerability that allows remote attackers to run OS commands by sending pickled data to the /update_weights endpoint. Attackers can submit a base64-encoded crafted pickle in serialized_named_tensors, which ForkingPickler.loads deserializes without validation, executing commands as the api_server process.

Analysis

AI-generated

Technical impact

InternLM LMDeploy v0.9.0 through v0.18.0 contains an unauthenticated remote code execution flaw that allows an attacker to run arbitrary operating‑system commands by sending a base64‑encoded, meticulously crafted pickle to the /update_weights endpoint, exploiting an unsafe deserialization vulnerability (CWE‑502). The ForkingPickler.loads function deserializes the payload without validation, executing code with the privileges of the api_server process. This gives the attacker full control over the machine running LMDeploy.

Affected Systems

The vulnerable package is InternLM LMDeploy, version range 0.9.0 to 0.18.0. The impact spans all deployments that expose the /update_weights endpoint, including those hosted on public or internal web servers, as the vulnerability is independent of authentication.

Risk and Exploitability

The CVSS score of 9.3 marks this flaw as critical. With an EPSS score of 1%, the exploitation probability is low but non‑zero. Based on the description, it is inferred that the attack vector is a network‑based HTTP request to the exposed /update_weights endpoint and that no authentication barrier exists, allowing any networked party to exploit the flaw. Attackers construct a malicious, base64‑encoded pickle, send it in the serialized_named_tensors field, and the ForkingPickler.loads deserialization executes arbitrary OS commands with api_server privileges. This presents a severe threat surface for any environment that relies on LMDeploy without proper access controls or patching.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a vendor patch or upgrade to a fixed LMDeploy release that resolves the insecure deserialization in /update_weights.
  • If an immediate upgrade is not possible, restrict the /update_weights endpoint to authenticated users only or remove the endpoint entirely from the exposed API surface.
  • Block or rate‑limit HTTP access to the /update_weights endpoint on the network perimeter until a fix can be applied.

Generated by OpenCVE AI on October 31, 2026 at 15:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description InternLM LMDeploy 0.9.0 through 0.18.0 contains an unauthenticated remote code execution vulnerability that allows remote attackers to run OS commands by sending pickled data to the /update_weights endpoint. Attackers can submit a base64-encoded crafted pickle in serialized_named_tensors, which ForkingPickler.loads deserializes without validation, executing commands as the api_server process.
Title LMDeploy 0.9.0 through 0.18.0 Unauthenticated RCE via /update_weights Pickle Deserialization
First Time appeared Internlm
Internlm lmdeploy
Weaknesses CWE-502
CPEs cpe:2.3:a:internlm:lmdeploy:*:*:*:*:*:*:*:*
Vendors & Products Internlm
Internlm lmdeploy
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, 'vector': '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'}

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 2, 2026, 6:29 PM
Reserved
Oct 30, 2026, 2:49 PM
Status
Deferred
Published
Oct 30, 2026, 4:17 PM
Modified
Oct 30, 2026, 4:17 PM