Arbitrary Code Injection Affecting lmdeploy package, versions [,0.13.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Social Trends
EPSS
0.14% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-LMDEPLOY-17429558
  • published23 Jun 2026
  • disclosed10 Jun 2026
  • creditbeanduan22

Introduced: 10 Jun 2026

NewCVE-2026-46432  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade lmdeploy to version 0.13.0 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Injection via the model initialization process when trust_remote_code=True is hardcoded in multiple HuggingFace model-loading call sites. An attacker can execute arbitrary code by supplying a malicious model repository.

CVSS Base Scores

version 4.0
version 3.1