{"id":"CVE-2026-46517","summary":"LMDeploy: Hardcoded trust_remote_code=True is an implicit unsafe remote-code load path with no user opt-out","details":"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.","aliases":["GHSA-9xq9-36w5-q796","PYSEC-2026-2608"],"modified":"2026-09-02T03:47:25.240148017Z","published":"2026-06-09T23:05:43.966Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-1188","CWE-915","CWE-94"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46517.json"},"references":[{"type":"WEB","url":"https://github.com/InternLM/lmdeploy/blob/v0.13.0/lmdeploy/version.py"},{"type":"WEB","url":"https://github.com/InternLM/lmdeploy/releases/tag/v0.13.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46517.json"},{"type":"ADVISORY","url":"https://github.com/InternLM/lmdeploy/security/advisories/GHSA-9xq9-36w5-q796"},{"type":"ADVISORY","url":"https://github.com/pypa/advisory-database/tree/main/vulns/lmdeploy/PYSEC-2026-2608.yaml"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46517"},{"type":"FIX","url":"https://github.com/InternLM/lmdeploy/commit/81be52961aa324fd5cd3cacebffba1ba051bc107"},{"type":"FIX","url":"https://github.com/github/advisory-database/pull/4511"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/internlm/lmdeploy","events":[{"introduced":"0"},{"fixed":"81be52961aa324fd5cd3cacebffba1ba051bc107"},{"fixed":"e6948c110e568511795e427234ce98d73bc2cd1d"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0"},{"last_affected":"0.12.3"}]}}],"versions":["v0.12.3","v0.12.2","v0.12.1","v0.12.0","v0.11.1","v0.11.0","v0.10.2","v0.10.1","v0.10.0","v0.9.2","v0.9.1","v0.9.0","v0.8.0","v0.7.2.post1","v0.7.2","v0.7.1","v0.7.0.post3","v0.7.0.post2","v0.7.0.post1","v0.7.0","0.6.5","v0.6.4","v0.6.3","v0.6.2","v0.6.1","v0.6.0","v0.6.0a0","v0.5.3","v0.5.2.post1","v0.5.2","v0.5.1","v0.5.0","v0.4.2","v0.4.1","v0.4.0","v0.3.0","v0.2.6","v0.2.5","v0.2.4","v0.2.3","v0.2.2","v0.2.1","v0.2.0","v0.1.0","v0.1.0a2","v0.1.0a1","v0.1.0a0","v0.0.14","v0.0.13","v0.0.12","v0.0.11","v0.0.10","v0.0.9","v0.0.8","v0.0.7","v0.0.6","v0.0.5","v0.0.4","v0.0.3","v0.0.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46517.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}