CVE-2026-46517
published high CVSS 3.1 · 7.8LMDeploy: Hardcoded trust_remote_code=True is an implicit unsafe remote-code load path with no user opt-out
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| InternLM | — | lmdeploy<= 0.12.3 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| InternLM | lmdeploy | <= 0.12.3 (affected) | GitHub_M · cna |
Weaknesses
3- CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection')
- CWE-915 CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes
- CWE-1188 CWE-1188: Insecure Default Initialization of Resource
References
6- https://github.com/InternLM/lmdeploy/blob/v0.13.0/lmdeploy/version.py
- https://github.com/InternLM/lmdeploy/commit/81be52961aa324fd5cd3cacebffba1ba051bc107
- https://github.com/InternLM/lmdeploy/releases/tag/v0.13.0
- https://github.com/InternLM/lmdeploy/security/advisories/GHSA-9xq9-36w5-q796
- https://github.com/github/advisory-database/pull/4511
- https://github.com/pypa/advisory-database/tree/main/vulns/lmdeploy/PYSEC-2026-2608.yaml
Provider assertions
2GitHub_M · cna
LMDeploy: Hardcoded trust_remote_code=True is an implicit unsafe remote-code load path with no user opt-out
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- cd4ad547139c754842c5673670678e06977066a7bd1f45f96c9f6f627049fdd8
- Ingested
- 23 Sep 2026, 09:16:38 UTC
- Source record
- Official CVE record