Skip to content
OpenAdvisories
High · 8.8 CVE-2025-67729 EUVD-2025-205455GHSA-9pf3-7rrr-x5jhPYSEC-2026-1578

lmdeploy vulnerable to Arbitrary Code Execution via Insecure Deserialization in torch.load()

Published Dec 26, 2025 · Updated Dec 26, 2025 · Assigned by GitHub_M

Description

LMDeploy is a toolkit for compressing, deploying, and serving LLMs. Prior to version 0.11.1, an insecure deserialization vulnerability exists in lmdeploy where torch.load() is called without the weights_only=True parameter when loading model checkpoint files. This allows an attacker to execute arbitrary code on the victim's machine when they load a malicious .bin or .pt model file. This issue has been patched in version 0.11.1.

Affected products

VendorProductAffectedFixed
InternLM lmdeploy < 0.11.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI lmdeploy < 0.11.1 0.11.1 GHSA-9pf3-7rrr-x5jh

References