LMDeploy: Arbitrary code execution via hardcoded trust_remote_code=True in lmdeploy model initialization
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-94.
Summary
LMDeploy is a toolkit for compressing, deploying, and serving large language models. In versions 0.12.3 and prior, LMDeploy is vulnerable to arbitrary code execution through hardcoded "trust_remote_code=True" in multiple HuggingFace model-loading call sites. At time of publication, there are no publicly available patches.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| InternLM | lmdeploy | up to 0.12.3 | — | No fix listed | CNA |
| — | lmdeploy (PyPI) | before 0.13.0 | 0.13.0 | Patch available | GHSA-m549-qq94-fvhg |
- lmdeploy VendorInternLM Affected up to 0.12.3 Fixed in — No fix listed CNA
- lmdeploy (PyPI) Vendor— Affected before 0.13.0 Fixed in 0.13.0 Patch available GHSA-m549-qq94-fvhg
Remediation
- Fix · GHSA-m549-qq94-fvhg lmdeploy (PyPI) Fixed in 0.13.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-46432
- 2026-10-03 Alias added: GHSA-m549-qq94-fvhg
References
More InternLM vulnerabilities
- TI-2026-67516 InternLM MindSearch Planner Agent graph.py ExecutionAction.run code injection CVSS 4.0CRITICAL 10.0
- TI-2025-37341 LMdeploy has Remote Code Execution by Pickle Deserialization via zmq_rpc.call_and_response() in InterLM/lmdeploy CVSS 3.1CRITICAL 9.8
- TI-2026-83181 Unauthenticated RCE in InternLM LMDeploy via pickle deserialization CVSS 4.0CRITICAL 9.3
- TI-2026-53684 LMDeploy Remote Code Execution via Unsafe Pickle Deserialization in the Disaggregated Serving Peer Connector CVSS 4.0CRITICAL 9.3
- TI-2026-62637 InternLM LMDeploy through 0.17.0 Memory Exhaustion via Session ID Mismatch CVSS 4.0HIGH 8.7
- TI-2026-62632 InternLM LMDeploy through 0.17.0 Assertion Denial of Service CVSS 4.0HIGH 8.7
Sources
- CVE-2026-46432 · CVE Program
- CVE-2026-46432 · NVD
- FIRST EPSS
- GHSA-m549-qq94-fvhg · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences