Zurück zur Liste

LMDeploy vulnerable to arbitrary code execution via eval() of untrusted quant_dtype in model config loading — GHSA-3HMM-RH5Q-GWWR

GitHub · GitHub · GHSA-3HMM-RH5Q-GWWR

ID
GHSA-3HMM-RH5Q-GWWR
Datum
Quelle
GitHub
Vendor
GitHub
Risiko
hoch
CVSS
8.8

Zusammenfassung

### Summary lmdeploy <= latest contains 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. ### Details…

Zeitlicher Verlauf

Von der Quelle veröffentlicht
2026-09-18

Risikokontext

  • Gemeldeter Schweregrad oder Risikowert: hoch.
  • Gemeldeter CVSS-Wert: 8.8 von 10.
  • Prüfe die Exponierung für das betroffene Produkt oder die Produktfamilie: pip: lmdeploy.

Produkt

pip: lmdeploy

Was tun?

Allgemeine, vorsichtige Schritte (bitte prüfe die offizielle Quelle für Details):

  • Priorisiere sofort Patches oder Mitigations (hohes akutes Risiko).
  • Identifiziere betroffene Produktversionen und prüfe, ob du betroffen bist.
  • Spiele Hersteller-Updates/Patches ein oder setze empfohlene Mitigations um.
  • Lies das offizielle Advisory für betroffene Versionen und konkrete Schritte.

Offizielles Advisory

Nachweise und Herkunft

Kanonische Advisory-ID
GHSA-3HMM-RH5Q-GWWR
Quelle
GitHub
Vendor
GitHub
Von der Quelle veröffentlicht
2026-09-18
Letzte Quellenaktivität
2026-09-18
Weitere Kennungen
CVE-2026-33625
Kuratiert von
hlukh.ch

Verwandte Hinweise und Zusammenhänge

Diese Hinweise sind anhand gemeinsamer CVE-, Produkt-, Hersteller-, Quellen- oder Zeitsignale verknüpft.