# CVE-2026-46517: LMDeploy: Hardcoded trust_remote_code=True is an implicit unsafe remote-code load path with no user opt-out

- Severity: High 7.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-05-21T19:33:32.000Z
- Modified: 2026-09-15T05:15:04.426Z
- Also known as: GHSA-9xq9-36w5-q796, PYSEC-2026-2608
- Weaknesses: CWE-94, CWE-915, CWE-1188
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- InternLM lmdeploy: <= 0.12.3
- lmdeploy (PyPI): before 0.13.0; up to 0.12.3

## Every score

- GitHub_M: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 7.8 High `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> (web)
- <https://github.com/github/advisory-database/pull/4511> (web)
- <https://github.com/InternLM/lmdeploy/commit/81be52961aa324fd5cd3cacebffba1ba051bc107> (web)
- <https://github.com/InternLM/lmdeploy/blob/v0.13.0/lmdeploy/version.py> (web)
- <https://github.com/InternLM/lmdeploy/releases/tag/v0.13.0> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/lmdeploy/PYSEC-2026-2608.yaml> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-46517> (advisory)
- <https://github.com/InternLM/lmdeploy> (package)
- <https://pypi.org/project/lmdeploy> (package)
- <https://github.com/advisories/GHSA-9xq9-36w5-q796> (advisory)

## Sources

- CVE List: [CVE-2026-46517](https://www.cve.org/CVERecord?id=CVE-2026-46517), CVE Terms of Use, modified 2026-08-31
- GitHub Advisory Database: [GHSA-9xq9-36w5-q796](https://github.com/advisories/GHSA-9xq9-36w5-q796), CC-BY-4.0, modified 2026-09-15
- NVD: [CVE-2026-46517](https://nvd.nist.gov/vuln/detail/CVE-2026-46517), Public domain, modified 2026-08-31
- PyPA Advisory Database: [PYSEC-2026-2608](https://osv.dev/vulnerability/PYSEC-2026-2608), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-46517 · Whole record: https://cve.day/CVE-2026-46517.json · Rebuilt by cve.day 2026-11-25T22:59:24.298Z
