Vulnerability · Published Jun 9, 2026 · Assigned by GitHub_M
CVE-2026-46517LMDeploy: Hardcoded trust_remote_code=True is an implicit unsafe remote-code load path with no user opt-out
High 7.8
In plain English
A high-severity code injection in lmdeploy from InternLM. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 6% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.2%top 94.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | lmdeploy | 0.13.0 | GHSA-9xq9-36w5-q796 |
| PyPI | lmdeploy | no fix listed | PYSEC-2026-2608 |
Affected products (as reported)
Weakness: CWE-94, CWE-915, CWE-1188 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- https://github.com/InternLM/lmdeploy/security/advisories/GHSA-9xq9-36w5-q796 x_refsource_CONFIRM
- https://github.com/github/advisory-database/pull/4511 x_refsource_MISC
- https://github.com/InternLM/lmdeploy/commit/81be52961aa324fd5cd3cacebffba1ba051bc107 x_refsource_MISC
- https://github.com/InternLM/lmdeploy/blob/v0.13.0/lmdeploy/version.py x_refsource_MISC
- https://github.com/InternLM/lmdeploy/releases/tag/v0.13.0 x_refsource_MISC
- https://github.com/pypa/advisory-database/tree/main/vulns/lmdeploy/PYSEC-2026-2608.yaml x_refsource_MISC