CVE Catalog

CVE-2026-33625

HighCVSS 8.8
Published: Translated: NVD NIST

Summary

LMDeploy versions 0.12.1 through 0.12.2 contain a code injection vulnerability in lmdeploy/pytorch/config.py line 620. An attacker can execute arbitrary Python code by publishing a malicious HuggingFace model with a crafted quantization_config.quant_dtype value, which is passed to eval() without validation.

Risk Assessment

Loading a malicious model can lead to arbitrary code execution in the user's process context, potentially resulting in full system compromise.

Recommendation

Upgrade LMDeploy to version 0.12.3 or later, which contains the patch.

Other vulnerabilities in LMDeploy

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS