CVE-2026-33625

Source
https://cve.org/CVERecord?id=CVE-2026-33625
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-33625.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-33625
Aliases
Published
2026-09-18T17:13:37Z
Modified
2026-09-20T11:45:37Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
LMDeploy vulnerable to arbitrary code execution via eval() of untrusted quant_dtype in model config loading
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-400"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33625.json"
}
References

Affected packages

Git / github.com/internlm/lmdeploy

Affected ranges

Type
GIT
Repo
https://github.com/internlm/lmdeploy
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "0.12.1"
        },
        {
            "fixed": "0.12.3"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Affected versions

v0.*
v0.12.1
v0.12.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-33625.json"