Summary
CVE-2026-119706 is an unauthenticated remote code execution vulnerability (CWE-502, Deserialization of Untrusted Data) in InternLM LMDeploy versions 0.9.0 through 0.18.0. The /update_weights endpoint deserializes attacker-supplied pickle data without validation. The CVE record rates it Critical (CVSS v4.0 base score 9.3).
Technical details
- Root cause: The
/update_weightsHTTP endpoint unsafely deserializes pickle data usingForkingPickler.loads, with no validation of the input. - Trigger conditions: An attacker sends a request to
/update_weightswith a base64-encoded malicious pickle payload in theserialized_named_tensorsparameter. No authentication is required. - Attack vector: Network, with no privileges and no user interaction required.
- Impact: The attacker can run arbitrary OS commands as the
api_serverprocess, which can lead to full compromise of the LMDeploy inference host.
Affected software
- InternLM LMDeploy 0.9.0 through 0.18.0 (inclusive)
Severity
- CVSS v4.0 base score: 9.3 (Critical), with the vector AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H.
- A CVSS v3.1 score could not be confirmed from the primary advisory sources reviewed, so none is stated here.
Mitigation and recommended actions
- Immediate: Upgrade to a LMDeploy release that includes the fix from upstream pull request #4964. That change rejects pickle data on HTTP
/update_weightsrequests by default. It accepts SafeTensors or structured tensor dictionaries instead. At the time of research, the PR page did not show a merge status or a release number, and the advisory does not name a fixed version. Confirm the fixed release with the LMDeploy maintainers before relying on a specific version. - Workarounds and network mitigations:
- Do not expose the LMDeploy
api_serverto untrusted networks or the internet. - Restrict access to
/update_weightswith a firewall, reverse proxy or authentication layer. - After patching, do not set
LMDEPLOY_ALLOW_PICKLE_UPDATE_PARAMS=1unless the deployment is trusted. This opt-in re-enables pickle support.
- Do not expose the LMDeploy
- Review exposed LMDeploy servers for unexpected requests to
/update_weightsand for signs of compromise.

