CVE-2026-33625 Details
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.
A code injection vulnerability has been identified in LMDeploy versions 0.12.1 prior to 0.12.3. The issue resides in the file 'lmdeploy/pytorch/config.py' at line 620, where the 'quant_dtype' value from a model's quantization configuration is passed to 'eval()' without proper validation. This flaw allows an attacker to execute arbitrary Python code by publishing a malicious HuggingFace model with a crafted 'quantization_config.quant_dtype' value. When the model is loaded with LMDeploy, the injected code is executed, leading to potential exploitation.
Users can upgrade to LMDeploy version 0.12.3, which addresses this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 18, 2026CISA-ADP
Assessed Sep 22, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/InternLM/lmdeploy/security/advisories/GHSA-3hmm-rh5q-gwwr | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/InternLM/lmdeploy/releases/tag/v0.12.3 | [email protected] | Release NotesVendor |
| https://github.com/InternLM/lmdeploy/security/advisories/GHSA-3hmm-rh5q-gwwr | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| InternLM LMDeploy | >= 0.12.1, < 0.12.3 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 22, 2026 | CVE Modified | CISA-ADP |
| Sep 18, 2026 | New CVE Received | [email protected] |
Volerion