{"id":"CVE-2026-33625","aliases":["GHSA-3hmm-rh5q-gwwr"],"url":"https://o3.security/vulnerability/CVE-2026-33625","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.","published":"2026-09-18T17:13:37.133Z","modified":"2026-09-19T03:46:08.071835412Z","cvss":{"score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"PyPI","name":"lmdeploy","fixedVersion":"0.12.3"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33625.json"},{"type":"WEB","url":"https://github.com/InternLM/lmdeploy/releases/tag/v0.12.3"},{"type":"ADVISORY","url":"https://github.com/InternLM/lmdeploy/security/advisories/GHSA-3hmm-rh5q-gwwr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33625"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-09-19T03:46:08.071835412Z"}}