CVE-2026-33625

High

Description

LMDeploy is a toolkit for compressing, deploying, and serving large language models. Versions 012.1 through 0.12.2 contain a code injection vulnerability in `lmdeploy/pytorch/config.py` line 620 that allows an attacker to execute arbitrary Python code by publishing a malicious HuggingFace model with a crafted `quantization_config.quant_dtype` value. When a user loads the model with lmdeploy, the `quant_dtype` is passed to `eval(f'torch.{quant_dtype}')` without any validation. Version 0.12.3 contains a patch.

SeverityHigh
CVSS8.8
Exploit probability—
ProductLmdeploy
PublishedSep 18, 2026
First seenSep 18, 2026

How to fix

Update
  • lmdeploy0.12.3 or later

Affected products

ProductAffected versionsFixed in
lmdeployPyPI0.12.1 ≤ v < 0.12.30.12.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-33625 · Lmdeploy · Dark Radar