{"id":"CVE-2026-46517","state":"PUBLISHED","title":"LMDeploy: Hardcoded trust_remote_code=True is an implicit unsafe remote-code load path with no user opt-out","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.","publishedAt":"2026-06-09T23:05:43.966Z","updatedAt":"2026-08-31T14:34:34.198Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["InternLM lmdeploy"],"affected":[{"vendor":"InternLM","product":"lmdeploy","versions":[{"version":"<= 0.12.3","status":"affected"}]}],"references":["https://github.com/InternLM/lmdeploy/security/advisories/GHSA-9xq9-36w5-q796","https://github.com/github/advisory-database/pull/4511","https://github.com/InternLM/lmdeploy/commit/81be52961aa324fd5cd3cacebffba1ba051bc107","https://github.com/InternLM/lmdeploy/blob/v0.13.0/lmdeploy/version.py","https://github.com/InternLM/lmdeploy/releases/tag/v0.13.0","https://github.com/pypa/advisory-database/tree/main/vulns/lmdeploy/PYSEC-2026-2608.yaml"],"weaknesses":["CWE-94","CWE-915","CWE-1188"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/46xxx/CVE-2026-46517.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-46517","state":"PUBLISHED","datePublished":"2026-06-09T23:05:43.966Z","dateUpdated":"2026-08-31T14:34:34.198Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-14T19:12:32.755Z"},"containers":{"cna":{"title":"LMDeploy: Hardcoded trust_remote_code=True is an implicit unsafe remote-code load path with no user opt-out","descriptions":[{"lang":"en","value":"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":[{"vendor":"InternLM","product":"lmdeploy","versions":[{"version":"<= 0.12.3","status":"affected"}]}],"references":[{"url":"https://github.com/InternLM/lmdeploy/security/advisories/GHSA-9xq9-36w5-q796","name":"https://github.com/InternLM/lmdeploy/security/advisories/GHSA-9xq9-36w5-q796","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/github/advisory-database/pull/4511","name":"https://github.com/github/advisory-database/pull/4511","tags":["x_refsource_MISC"]},{"url":"https://github.com/InternLM/lmdeploy/commit/81be52961aa324fd5cd3cacebffba1ba051bc107","name":"https://github.com/InternLM/lmdeploy/commit/81be52961aa324fd5cd3cacebffba1ba051bc107","tags":["x_refsource_MISC"]},{"url":"https://github.com/InternLM/lmdeploy/blob/v0.13.0/lmdeploy/version.py","name":"https://github.com/InternLM/lmdeploy/blob/v0.13.0/lmdeploy/version.py","tags":["x_refsource_MISC"]},{"url":"https://github.com/InternLM/lmdeploy/releases/tag/v0.13.0","name":"https://github.com/InternLM/lmdeploy/releases/tag/v0.13.0","tags":["x_refsource_MISC"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/lmdeploy/PYSEC-2026-2608.yaml","name":"https://github.com/pypa/advisory-database/tree/main/vulns/lmdeploy/PYSEC-2026-2608.yaml","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","lang":"en","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-915","lang":"en","description":"CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-1188","lang":"en","description":"CWE-1188: Insecure Default Initialization of Resource","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-31T14:34:34.198Z"},"source":{"advisory":"GHSA-9xq9-36w5-q796","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-11T03:55:31.160135Z","id":"CVE-2026-46517","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-11T10:18:19.271Z"}}]}}}