CVE-2026-33625

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.
Configurations

No configuration.

History

22 Sep 2026, 16:17

Type Values Removed Values Added
References () https://github.com/InternLM/lmdeploy/security/advisories/GHSA-3hmm-rh5q-gwwr - () https://github.com/InternLM/lmdeploy/security/advisories/GHSA-3hmm-rh5q-gwwr -

18 Sep 2026, 18:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-09-18 18:17

Updated : 2026-09-24 21:25


NVD link : CVE-2026-33625

Mitre link : CVE-2026-33625

CVE.ORG link : CVE-2026-33625


JSON object : View

Products Affected

No product.

CWE
CWE-400

Uncontrolled Resource Consumption