CVE-2026-46517
LMDeploy: Hardcoded trust_remote_code=True is an implicit unsafe remote-code load path with no user opt-out
- State
- Published
- Severity
- 7.8 High
- Published
- Jun 9, 2026
- Updated
- Aug 31, 2026
- Reserved
- May 14, 2026
Description
LMDeploy is a toolkit for compressing, deploying, and serving large language models. In versions 0.12.3 and prior, hardcoded "trust_remote_code=True" enables HF supply-chain RCE without user opt-in. Version 0.13.0 patches the issue.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.8 High | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | GitHub_M |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
lmdeployInternLM |
|
References
- https://github.com/InternLM/lmdeploy/security/advisories/GHSA-9xq9-36w5-q796
- https://github.com/github/advisory-database/pull/4511
- https://github.com/InternLM/lmdeploy/commit/81be52961aa324fd5cd3cacebffba1ba051bc107
- https://github.com/InternLM/lmdeploy/blob/v0.13.0/lmdeploy/version.py
- https://github.com/InternLM/lmdeploy/releases/tag/v0.13.0
- https://github.com/pypa/advisory-database/tree/main/vulns/lmdeploy/PYSEC-2026-2608.yaml
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.