Vulnerability

CVE-2026-33625

highCVSS 3.1 8.8Published 18 Sep 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /InternLM/lmdeploy/releases/tag/v0.12.3
  • github.com /InternLM/lmdeploy/security/advisories/GHSA-3hmm-rh5q-gwwr

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning