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

EcosystemPackageFixed inAdvisory
PyPIlmdeploy0.13.0GHSA-9xq9-36w5-q796
PyPIlmdeployno fix listedPYSEC-2026-2608

Affected products (as reported)

VendorProductVersions
InternLM lmdeploy <= 0.12.3

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