CVE-2026-33625
highLMDeploy is a toolkit for compressing, deploying, and serving large language models.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/InternLM/lmdeploy/releases/tag/v0.12.3 security-advisories@github.com
- https://github.com/InternLM/lmdeploy/security/advisories/GHSA-3hmm-rh5q-gwwr security-advisories@github.com
- https://github.com/InternLM/lmdeploy/security/advisories/GHSA-3hmm-rh5q-gwwr 134c704f-9b21-4f2e-91b3-4a467353bcc0
