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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
InternLM lmdeploy
<= 0.12.3affected
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 ↗