Weakness
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.
References
- https://github.com/InternLM/lmdeploy/blob/v0.13.0/lmdeploy/version.py
- https://github.com/InternLM/lmdeploy/commit/81be52961aa324fd5cd3cacebffba1ba051bc107
- https://github.com/InternLM/lmdeploy/releases/tag/v0.13.0
- https://github.com/InternLM/lmdeploy/security/advisories/GHSA-9xq9-36w5-q796
- https://github.com/github/advisory-database/pull/4511
- https://github.com/pypa/advisory-database/tree/main/vulns/lmdeploy/PYSEC-2026-2608.yaml
Find the bug before an attacker does.
Sign in with GitHub and run your first audit in under a minute. The free plan needs no credit card.