Skip to content
OpenAdvisories
High · 7.8 CVE-2026-46432 EUVD-2026-35873GHSA-m549-qq94-fvhgPYSEC-2026-2609

LMDeploy: Arbitrary code execution via hardcoded trust_remote_code=True in lmdeploy model initialization

Published Jun 9, 2026 · Updated Jun 11, 2026 · Assigned by GitHub_M

Description

LMDeploy is a toolkit for compressing, deploying, and serving large language models. In versions 0.12.3 and prior, LMDeploy is vulnerable to arbitrary code execution through hardcoded "trust_remote_code=True" in multiple HuggingFace model-loading call sites. At time of publication, there are no publicly available patches.

Affected products

VendorProductAffectedFixed
InternLM lmdeploy <= 0.12.3 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI lmdeploy < 0.13.0 0.13.0 GHSA-m549-qq94-fvhg

References