Skip to content
OpenAdvisories
High · 7.1 CVE-2025-66448 EUVD-2025-200115GHSA-8fr4-5q9j-m8gmPYSEC-2026-2015

vLLM vulnerable to remote code execution via transformers_utils/get_config

Published Dec 1, 2025 · Updated Dec 2, 2025 · Assigned by GitHub_M

Description

vLLM is an inference and serving engine for large language models (LLMs). Prior to 0.11.1, vllm has a critical remote code execution vector in a config class named Nemotron_Nano_VL_Config. When vllm loads a model config that contains an auto_map entry, the config class resolves that mapping with get_class_from_dynamic_module(...) and immediately instantiates the returned class. This fetches and executes Python from the remote repository referenced in the auto_map string. Crucially, this happens even when the caller explicitly sets trust_remote_code=False in vllm.transformers_utils.config.get_config. In practice, an attacker can publish a benign-looking frontend repo whose config.json points via auto_map to a separate malicious backend repo; loading the frontend will silently run the backend’s code on the victim host. This vulnerability is fixed in 0.11.1.

Affected products

VendorProductAffectedFixed
vllm-project vllm < 0.11.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI vllm < 0.11.1 0.11.1 GHSA-8fr4-5q9j-m8gm

References