{"id":"CVE-2026-46432","published":"2026-06-09T23:05:38Z","modified":"2026-06-11T03:55:31Z","title":"LMDeploy: Arbitrary code execution via hardcoded trust_remote_code=True in lmdeploy model initialization","vendor":"InternLM","product":"lmdeploy","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00142,"percentile":0.03636,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/InternLM/lmdeploy/security/advisories/GHSA-m549-qq94-fvhg","tags":["x_refsource_CONFIRM"]}],"priority":{"score":6.2,"factors":[{"name":"EPSS percentile","points":0.73},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"internlm","affectedVersions":[{"vendor":"InternLM","product":"lmdeploy","versions":["<= 0.12.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-06-10T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"lmdeploy","vulnerableRanges":["<0.13.0"],"patched":["0.13.0"],"from":["GHSA-m549-qq94-fvhg","PYSEC-2026-2609"],"provenance":"source"}],"summary":{"text":"LMDeploy, InternLM's toolkit for compressing, deploying and serving large language models, contains a flaw in versions 0.12.3 and prior where multiple HuggingFace model-loading call sites hardcode trust_remote_code=True, leading to improper control of code generation (code injection). An attacker who can get a user with local access to load a malicious model into LMDeploy can achieve arbitrary code execution, and exploitation requires low privileges on the host with no user interaction beyond that model being loaded.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:16:09Z"},"euvd":{"id":"EUVD-2026-35873","exploited":false,"provenance":"source"}}