Skip to content
OpenAdvisories
High · 7.8 CVE-2026-46517 EUVD-2026-35874GHSA-9xq9-36w5-q796PYSEC-2026-2608

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

Published Jun 9, 2026 · Updated Aug 31, 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, hardcoded "trust_remote_code=True" enables HF supply-chain RCE without user opt-in. Version 0.13.0 patches the issue.

Affected products

VendorProductAffectedFixed
InternLM lmdeploy <= 0.12.3 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI lmdeploy < 0.13.0 0.13.0 GHSA-9xq9-36w5-q796
PyPI lmdeploy <= 0.12.3 — PYSEC-2026-2608

References