CVE-2026-46517
CVE-2026-46517 · LMDeploy: Hardcoded trust_remote_code=True is an implicit unsafe remote-code load path with no user opt-out
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 7.8 · High · EPSS 0.2% · Fix available
- Published
- Updated
Stack: python
Affected products and versions
lmdeploy
- Versions
- <= 0.12.3: Affected
No fix published
lmdeploy PyPI
- Versions
- 0.0.10
- 0.0.11
- 0.0.12
- 0.0.13
- 0.0.14
- 0.1.0
- 0.10.0
- 0.10.1
- 0.10.2
- 0.11.0
- 0.11.1
- 0.12.0
- 0.12.1
- 0.12.2
- 0.12.3
- 0.2.0
- 0.2.1
- 0.2.2
- 0.2.3
- 0.2.4
- 0.2.5
- 0.2.6
- 0.3.0
- 0.4.0
- 0.4.1
- 0.4.2
- 0.5.0
- 0.5.1
- 0.5.2
- 0.5.2.post1
- 0.5.3
- 0.6.0
- 0.6.0a0
- 0.6.1
- 0.6.2
- 0.6.2.post1
- 0.6.3
- 0.6.4
- 0.6.5
- 0.7.0
- 0.7.0.post1
- 0.7.0.post2
- 0.7.0.post3
- 0.7.1
- 0.7.2
- 0.7.2.post1
- 0.7.3
- 0.8.0
- 0.9.0
- 0.9.1
- 0.9.2
- 0.9.2.post1
- Affected ranges
- ECOSYSTEM: < 0.13.0
Update to 0.13.0
lmdeploy PyPI
- Versions
- 0.0.10
- 0.0.11
- 0.0.12
- 0.0.13
- 0.0.14
- 0.1.0
- 0.10.0
- 0.10.1
- 0.10.2
- 0.11.0
- 0.11.1
- 0.12.0
- 0.12.1
- 0.12.2
- 0.12.3
- 0.2.0
- 0.2.1
- 0.2.2
- 0.2.3
- 0.2.4
- 0.2.5
- 0.2.6
- 0.3.0
- 0.4.0
- 0.4.1
- 0.4.2
- 0.5.0
- 0.5.1
- 0.5.2
- 0.5.2.post1
- 0.5.3
- 0.6.0
- 0.6.0a0
- 0.6.1
- 0.6.2
- 0.6.2.post1
- 0.6.3
- 0.6.4
- 0.6.5
- 0.7.0
- 0.7.0.post1
- 0.7.0.post2
- 0.7.0.post3
- 0.7.1
- 0.7.2
- 0.7.2.post1
- 0.7.3
- 0.8.0
- 0.9.0
- 0.9.1
- 0.9.2
- 0.9.2.post1
- Affected ranges
- ECOSYSTEM: ≤ 0.12.3
No fix published
Original sources
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2026-46517