# CVE-2026-46432: LMDeploy: Arbitrary code execution via hardcoded trust_remote_code=True in lmdeploy model initialization

- Severity: High 7.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/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.14%, higher than 3% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-21T17:30:57.000Z
- Modified: 2026-07-23T09:10:00.113Z
- Also known as: GHSA-m549-qq94-fvhg, PYSEC-2026-2609
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, 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, LMDeploy is vulnerable to arbitrary code execution through hardcoded "trust_remote_code=True" in multiple HuggingFace model-loading call sites. At time of publication, there are no publicly available patches.

(As written by CVE List.)

## Affected

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

## Every score

- GitHub_M: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/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:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/InternLM/lmdeploy/security/advisories/GHSA-m549-qq94-fvhg> (exploit, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-46432> (advisory)
- <https://github.com/InternLM/lmdeploy/pull/4511> (web)
- <https://github.com/InternLM/lmdeploy> (package)
- <https://pypi.org/project/lmdeploy> (package)
- <https://github.com/advisories/GHSA-m549-qq94-fvhg> (advisory)

## Sources

- CVE List: [CVE-2026-46432](https://www.cve.org/CVERecord?id=CVE-2026-46432), CVE Terms of Use, modified 2026-06-11
- GitHub Advisory Database: [GHSA-m549-qq94-fvhg](https://github.com/advisories/GHSA-m549-qq94-fvhg), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-46432](https://nvd.nist.gov/vuln/detail/CVE-2026-46432), Public domain, modified 2026-07-23
- PyPA Advisory Database: [PYSEC-2026-2609](https://osv.dev/vulnerability/PYSEC-2026-2609), CC-BY-4.0, modified 2026-07-13

---

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