This vulnerability (GHSA-f623-hjm8-5wg5, duplicate of GHSA-h3rc-6mm3-gc2m) is a remote code execution in vLLM caused by request-controlled mm_processor_kwargs.code_revision being forwarded to Transformers AutoProcessor.from_pretrained. When a served model uses dynamic auto_map processor code and --trust-remote-code is enabled, an attacker can send a multimodal request (e.g. to the unauthenticated /tokenize endpoint) whose mm_processor_kwargs.code_revision selects an attacker-controlled revision of the model's processor code, which is then imported and executed in the vLLM API/renderer process.
The fix (PR #58830) mitigates this by default-denying non-empty per-request mm_processor_kwargs (and media_io_kwargs) via a new validate_request_mm_kwargs check, gated behind --trust-request-mm-kwargs. The patch modified three entry points to add this validation: OnlineRenderer.preprocess_chat, OnlineRenderer.preprocess_cmpl, and PoolingBaseServing._init_ctx. These are the vulnerable functions that previously lacked the check and forwarded the untrusted kwargs.
The deeper root-cause chain (described in the advisory and confirmed in vllm/transformers_utils/processor.py) is: MultiModalConfig.merge_mm_processor_kwargs overlays request values over startup values; _merge_mm_kwargs merges and returns the request kwargs; cached_processor_from_config pins revision/trust_remote_code but forwards the remaining kwargs; cached_get_processor_without_dynamic_kwargs filters only recognized processor-call keys (retaining code_revision); and get_processor finally calls AutoProcessor.from_pretrained(..., **kwargs) with the attacker-controlled code_revision, triggering the import of arbitrary Python. All of these functions would appear in a runtime stack trace during exploitation.