kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-33625 LMDeploy vulnerable to arbitrary code execution via eval() of untrusted quant_dtype in model config loading

설명

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.

영향 받는 제품 제품 1개

  • InternLM

    lmdeploy

    해결 버전 있음

    영향 받는 버전

    • 0.12.1 이상 0.12.3 미만

    해결 버전

    • 0.12.3 이상

참고 자료 2건

‹ 목록

점검 지원 범위 문의

도입 문의