CVE-2026-33625

high

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.

References

https://github.com/InternLM/lmdeploy/security/advisories/GHSA-3hmm-rh5q-gwwr

https://github.com/InternLM/lmdeploy/releases/tag/v0.12.3

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-83202

Details

Source: Mitre, NVD

Published: 2026-09-18

Updated: 2026-09-24

Risk Information

CVSS v2

Base Score: 10

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

Severity: Critical

CVSS v3

Base Score: 8.8

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Severity: High

EPSS

EPSS: 0.00442