CVE-2026-33625
published high CVSS 3.1 · 8.8LMDeploy vulnerable to arbitrary code execution via eval() of untrusted quant_dtype in model config loading
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| InternLM | — | lmdeploy>= 0.12.1, < 0.12.3 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| InternLM | lmdeploy | >= 0.12.1, < 0.12.3 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-400 CWE-400: Uncontrolled Resource Consumption
References
2Provider assertions
2GitHub_M · cna
LMDeploy vulnerable to arbitrary code execution via eval() of untrusted quant_dtype in model config loading
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d060a1433e9fdabeb094cd3f4804b79b4c6f7b405f2d5ff068e351e25e0838fb
- Ingested
- 23 Sep 2026, 09:10:36 UTC
- Source record
- Official CVE record