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. At time of publication, there are no publicly available patches.
Problem types
CWE-94: Improper Control of Generation of Code ('Code Injection')
CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes
CWE-1188: Insecure Default Initialization of Resource
Product status
References
github.com/...deploy/security/advisories/GHSA-9xq9-36w5-q796
github.com/...deploy/security/advisories/GHSA-9xq9-36w5-q796