Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 95%

CVE-2026-46517: CWE-94: Improper Control of Generation of Code ('Code Injection') in InternLM lmdeploy

0
High
VulnerabilityCVE-2026-46517cvecve-2026-46517cwe-94cwe-915cwe-1188
Published: 06/09/2026 (06/09/2026, 23:05:43 UTC)
Source: CVE Database V5
Vendor/Project: InternLM
Product: lmdeploy

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. At time of publication, there are no publicly available patches.

CVSS v3.1

Score 7.8high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected software

GitHub Actionsmore threats →ai
internlm/lmdeploy
pkg:github/internlm/lmdeploy
Affected versions
<=0.12.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/17/2026, 08:39:44 UTC

Technical Analysis

CVE-2026-46517 affects InternLM's lmdeploy toolkit for compressing, deploying, and serving large language models. In versions 0.12.3 and prior, the hardcoded configuration 'trust_remote_code=True' allows remote code execution through the Hugging Face supply chain without requiring user opt-in. This improper control of code generation (CWE-94) leads to a critical security risk. No official fix or patch has been released as of the publication date.

Potential Impact

Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code remotely with the privileges of the lmdeploy process. This compromises confidentiality, integrity, and availability of the affected system. The CVSS score of 7.8 reflects high impact on confidentiality, integrity, and availability. There are no known exploits in the wild at this time.

Mitigation Recommendations

No official patch or remediation is currently available. Users should avoid using affected versions (<=0.12.3) of lmdeploy until a fix is released. Monitor the vendor's advisory channels for updates. Since the vulnerability arises from a hardcoded setting, disabling or overriding 'trust_remote_code=True' if possible may reduce risk, but this is not confirmed by the vendor.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-14T19:12:32.755Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a28a1018dd33fbd85928650

Added to database: 06/09/2026, 23:25:53 UTC

Last enriched: 06/17/2026, 08:39:44 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 147

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses