NetSight
high7.8

CVE-2026-46517

lmdeploy: Hardcoded trust_remote_code=True is an implicit unsafe remote-code load path with no user opt-out

Impact

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 packages

EcosystemPackageAffectedFixed in
piplmdeploy<= 0.12.30.13.0

Weakness classification

References