p PatchFirst

CVE-2026-33625

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

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

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.

CVSS 8.8 · Élevée · EPSS 0,4% · Correctif disponible

Publication
Mise à jour

Pile logicielle: python

Produits et versions concernés

  • lmdeploy

    Versions du logiciel
    • >= 0.12.1, < 0.12.3: Concernée

    Aucun correctif publié

  • lmdeploy PyPI

    Versions du logiciel
    • 0.12.1
    • 0.12.2
    Plages de versions concernées
    • ECOSYSTEM: ≥ 0.12.1, < 0.12.3

    Mettez à jour vers 0.12.3

Sources originales

Vérifiez votre serveur →