vLLM remote code execution via multimodal processor revision override

HighSE Fix-First Score 43/100CVE-2026-114053SE-AIV-01056Remote code executionModel serving and inferenceMade public 27 Oct 2026

Download as PDF

What this means

An attacker can run arbitrary code on the vLLM server by sending a specially crafted image or multimodal request. This code runs with the same permissions as the vLLM process, allowing the attacker to read model files, steal API keys, modify responses, or take over the server.

SecurityElites Manager Brief: the decision in one minute

vLLM can be tricked into loading malicious processor code if the operator enabled trust-remote-code and an attacker sends a specially crafted multimodal request. This runs arbitrary code on your server. You must upgrade to version 0.31.0 or later immediately, or disable trust-remote-code if you cannot upgrade today.

SecurityElites Fix-First Score43 of 100
Our own ranking of what to fix first. Real attacks count most, then the chance of attack, then severity.
SecurityElites fix windowWithin 30 days
High severity. This is our suggestion from common practice; your own policy comes first.
Who should own the fixPlatform or infrastructure team running vLLM servers.
Likely effortAbout 15 minutes per server: a version bump to 0.31.0 or later and a restart. Longer if you need to coordinate rollouts across multiple machines or if you must audit logs first to confirm you were exposed.

Questions to ask your team or supplier

  • Do we have any vLLM servers running with --trust-remote-code or trust_remote_code=True? If yes, what models are they serving and are those models' processors using dynamic auto_map code?
  • Have we checked our vLLM API logs from the past 90 days for requests containing mm_processor_kwargs with code_revision parameters?
  • If we cannot upgrade immediately, can we restrict network access to vLLM or disable trust-remote-code for the time being?

Message you can forward to the owning team

Security notice: vLLM remote code execution via multimodal processor revision override (CVE-2026-114053)

Severity: High
SecurityElites Fix-First Score: 43 of 100
SecurityElites fix window: Within 30 days
Action: upgrade to vllm 0.31.0 or later.
What we need from you: confirm whether we run this software, who owns it, and the date it will be fixed.
Full guide: https://securityelites.com/ai-vulnerabilities/cve-2026-114053-vllm-remote-code-execution-via-multimodal-processor-revision-override/
Source: SecurityElites AI Vulnerabilities Database, record SE-AIV-01056

What is at stake in your AI setup

  • Model processor code: an attacker can replace the reviewed processor with malicious code that processes or steals multimodal inputs before they reach the model
  • API keys and credentials: code execution runs in the vLLM process and can access environment variables, config files, and cached credentials for Hugging Face, cloud providers, or other services
  • Model weights and cached data: the attacker can read or exfiltrate model files, cached revisions, and any other data accessible to the vLLM process user
  • Compute resources: injected code can consume GPU or CPU time for cryptocurrency mining or other purposes, increasing your bill and degrading service

Map where your company uses AI

Who is exposed

  • Teams running vLLM 0.7.3 to 0.30.x that enabled --trust-remote-code for any multimodal model
  • Servers with public or unauthenticated access to the /tokenize endpoint (vLLM's auth middleware does not protect this path)
  • Setups using Hugging Face models with auto_map processor code and community pull-request branches available
  • Any vLLM deployment where images or multimodal inputs are accepted and the model processor uses dynamic code loading

Upgrades you need

SoftwareAffected versionsMove to
vllm
PyPI
0.7.3 up to, but not including, 0.31.00.31.0 or later

Am I affected?

Enter the version you run. Nothing you type is stored.

SecurityElites Developer Brief: the technical picture

Is it being attackedNo known attacks and no public attack code when CISA last reviewed it
Where the attacker must beAnywhere that can reach it over a network, including the internet if it is exposed
Account neededNone. No login is needed
Does a person have to do somethingNo. It works without anyone clicking or opening anything
How hard it is to doHard. It depends on conditions the attacker does not control
Risk of: data being readHigh
Risk of: data or settings being changedHigh
Risk of: the service being taken downHigh
Can attackers automate it at scaleNo, according to CISA. Each target needs manual work
How much control an attacker gainsTotal control of the affected software, according to CISA

Read from the official severity rating: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Kind of coding mistake

  • CWE-829
  • CWE-94: code can be injected

If you cannot upgrade today

  • Immediately disable `--trust-remote-code` if it is not strictly necessary. Set `trust_remote_code=False` in your vLLM configuration. This prevents the vulnerable code path entirely.
  • Restrict network access to vLLM API endpoints, especially `/tokenize`, to trusted clients only using a firewall or authentication proxy.
  • If you must keep trust-remote-code enabled, do not serve models with dynamic auto_map processor code until you upgrade to 0.31.0 or later.

Signs it may already have been used against you

  • Search vLLM API request logs for the string `mm_processor_kwargs` combined with `code_revision`. This parameter should never appear in normal multimodal requests.
  • Look for HTTP requests to `/tokenize` endpoints that bypass your authentication middleware or come from unexpected sources.
  • Check vLLM process logs for `AutoProcessor.from_pretrained` calls with revision parameters that differ from the model's configured revision.
  • Monitor the vLLM process for unexpected imports, file writes, or subprocess spawning at request handling time, especially if trust-remote-code is enabled.

Log searches to start from

Find multimodal requests with code_revision parameter (adapt field names to your logs)Splunk

sourcetype=vllm OR source=*vllm* request_path=/tokenize OR request_path=/v1/chat/completions mm_processor_kwargs=* code_revision=*

Find requests with mm_processor_kwargs containing code_revision (adapt field names)Elastic

process.name:vllm AND http.request.body.content:*mm_processor_kwargs* AND http.request.body.content:*code_revision*

Written with AI as a starting point. Review them and change the index and field names to match your own logs before you rely on the result.

SecurityElites Fix Guide: step by step

  1. Find where vLLM is installed and check the versionRun `pip show vllm` or check the vllm package in your Python environment. Write down the version number. If you are running vLLM 0.7.3 through 0.30.x, you are affected.
  2. Check if --trust-remote-code is enabledLook at the command line arguments or configuration file used to start your vLLM server. Search for `trust-remote-code`, `trust_remote_code`, or any mention of allowing remote processor code. If this flag is not set, the default is False and you are not vulnerable.
  3. Check if multimodal models are being servedList the models your vLLM server is configured to serve. If the model has an image or audio input capability and uses a Hugging Face processor with auto_map code (check the model's processor_config.json on Hugging Face), you are at risk.
  4. Check server logs for suspicious requests before the upgradeSearch your vLLM API logs for requests to `/tokenize` and `/v1/chat/completions` that include `mm_processor_kwargs` with a `code_revision` parameter. This parameter should not normally appear in requests. If you see it, the server may have been attacked.
  5. Upgrade vLLM to version 0.31.0 or laterRun `pip install --upgrade vllm>=0.31.0`. Wait for the upgrade to complete and verify no errors occurred.
  6. Restart the vLLM serverStop your vLLM process and start it again with the same configuration. This ensures the new version is running.
  7. Confirm the fix is in placeRun `pip show vllm` again and verify the version is 0.31.0 or higher. If the version is correct, the fix is applied.
  8. Review and audit if you were exposedIf you found suspicious requests in the logs and trust-remote-code was enabled, treat your vLLM server as compromised. Review all API logs from the past 90 days for unusual activity, check for new files or processes spawned by the vLLM process, and consider rotating any API keys or secrets that could have been exposed.

How to confirm it is fixed: Run `pip show vllm` and confirm the installed version is 0.31.0 or higher, and confirm in your running vLLM process that `trust_remote_code` is not enabled or set to False.

SecurityElites Quick Fixes: copy and paste

Upgrade vllm with pipupgrade

pip install --upgrade "vllm>=0.31.0"
pip show vllm | grep Version

Pin it in requirements.txtupgrade

vllm>=0.31.0

Check installed vLLM versionfor this issue

pip show vllm | grep Version

Search vLLM logs for suspicious mm_processor_kwargs requestsfor this issue

grep -i 'mm_processor_kwargs' /path/to/vllm/logs/*.log | grep -i 'code_revision'

Run the service in a locked-down containergeneral hardening

docker run --read-only --cap-drop ALL \
  --security-opt no-new-privileges --user 1000:1000 \
  -p 127.0.0.1:8080:8080 YOUR_IMAGE

Test in a non-production environment first. General hardening examples use placeholder names and ports; change them to match your setup.

Let your AI coding assistant do the upgrade

Paste this into the coding assistant you already use, inside the project. It checks first and asks before it changes anything.

Instruction for your coding assistant

You are helping me fix a security vulnerability (CVE-2026-114053) in this project.\n\n1. Search the whole repository, including lock files, container files and CI configuration, for these packages and list every place they are pinned or installed:\n   - vllm (PyPI): must be 0.31.0 or later
2. Tell me which version we use now and whether it is affected. Stop and ask me before changing anything.
3. After I agree, raise each one to the safe version, update the lock files, and keep every other dependency as it is.
4. Run the tests and tell me what failed.
5. Give me a short summary of the files you changed that I can put in the pull request.

SecurityElites Incident Drill: could your team handle this?

Four questions to ask in your next team meeting. If any has no clear answer, that is the gap to close.

What is the minimum vLLM version needed to fix this vulnerability?A good answer: vLLM 0.31.0 or any version higher than 0.31.0.
Can this attack happen if trust-remote-code is disabled?A good answer: No, the vulnerability does not exist when trust_remote_code=False, which is the default.
What would an attacker be able to do if they exploit this vulnerability?A good answer: An attacker can run arbitrary code on the vLLM server process with full access to model files, API keys, and compute resources.
Which API endpoint is most at risk and why?A good answer: The /tokenize endpoint is most at risk because vLLM's authentication middleware does not protect it, so it may be accessible without credentials.

Run a full timed drill with your team

Ticket for your backlog

Paste into Jira, GitHub Issues or any tracker that reads Markdown.

Ready-made ticket

## vLLM remote code execution via multimodal processor revision override (CVE-2026-114053)

**Severity:** High  |  **SE Fix-First Score:** 43/100  |  **Fix window:** Within 30 days
**Record:** SE-AIV-01056 https://securityelites.com/ai-vulnerabilities/cve-2026-114053-vllm-remote-code-execution-via-multimodal-processor-revision-override/

### Why this matters
An attacker can run arbitrary code on the vLLM server by sending a specially crafted image or multimodal request. This code runs with the same permissions as the vLLM process, allowing the attacker to read model files, steal API keys, modify responses, or take over the server.

### What to do
1. Find where vLLM is installed and check the version
2. Check if --trust-remote-code is enabled
3. Check if multimodal models are being served
4. Check server logs for suspicious requests before the upgrade
5. Upgrade vLLM to version 0.31.0 or later
6. Restart the vLLM server
7. Confirm the fix is in place
8. Review and audit if you were exposed

Full steps: https://securityelites.com/ai-vulnerabilities/cve-2026-114053-vllm-remote-code-execution-via-multimodal-processor-revision-override/

### Done when
- [ ] vllm is at 0.31.0 or later everywhere it is installed
- [ ] Lock files, container images and CI configuration are updated
- [ ] Run `pip show vllm` and confirm the installed version is 0.31.0 or higher, and confirm in your running vLLM process that `trust_remote_code` is not enabled or set to False.
- [ ] Logs were checked for signs of earlier use

SecurityElites Fix Tracker

Record who owns this fix, the date it is due and when it is done, and see everything still open in one list. Free with a SecurityElites account.

Sign in to track this fix

Change history

  • 27 Oct 2026: Made public
  • 1 Dec 2026: Published
  • 3 Dec 2026: Guide updated

Official record

## SummaryAn untrusted multimodal request can set `mm_processor_kwargs.code_revision`. When vLLM serves a model whose Hugging Face processor uses dynamic `auto_map` code and the operator enabled `--trust-remote-code`, this request value reaches `AutoProcessor.from_pretrained` and selects the Python revision imported by Transformers.This lets a client replace the operator-reviewed processor module with code from another revision of the same model repository. The operator-selected model/data `revision` remains pinned; only the executed processor code changes.Importing a Python module is arbitrary code execution in the vLLM API/renderer process. The PoC below demonstrates this with an import-time filesystem write. It is fully offline and does not require a GPU, model weights, or changes to a real Hub repository.## Affected snapshot- Repository: [`vllm-project/vllm`](https://github.com/vllm-project/vllm) - Verified commit: [`570735520942b6428ae98f1eb442c6d88adae55e`](https://github.com/vllm-project/vllm/commit/570735520942b6428ae98f1eb442c6d88adae55e) - Verified with Transformers 5.15.0 and 5.16.1 - Affected release range has not been bisected## Affected configurationThe vulnerable path exists when all of the following are true:1. The served model's processor uses dynamic `auto_map.AutoProcessor` code. 2. The operator enabled `trust_remote_code`. 3. The server can fetch the request-selected revision, or it is already cached. 4. The attacker can create or otherwise control a revision in the served model repository. An example is a [Hugging Face community pull-request ref](https://huggingface.co/docs/hub/en/repositories-pull-requests-discussions#where-in-the-git-repo-are-changes-stored) when that repository permits them. 5. A multimodal request reaches the processor path.The default `trust_remote_code=False` configuration is not affected.## Attack surface`mm_processor_kwargs` is accepted directly by public request models:- [`TokenizeChatRequest.mm_processor_kwargs`](https://github.com/vllm-project/vllm/blob/570735520942b6428ae98f1eb442c6d88adae55e/vllm/entrypoints/serve/tokenize/protocol.py#L111-L114) - [`ChatCompletionRequest.mm_processor_kwargs`](https://github.com/vllm-project/vllm/blob/570735520942b6428ae98f1eb442c6d88adae55e/vllm/entrypoints/openai/chat_completion/protocol.py#L372-L375)`/tokenize` is particularly relevant because vLLM's authentication middleware guards only `/v1`, `/v2`, `/inference`, and `/cohere` prefixes:- [`AuthenticationMiddleware`](https://github.com/vllm-project/vllm/blob/570735520942b6428ae98f1eb442c6d88adae55e/vllm/entrypoints/serve/middleware/authenticate.py#L11-L62)Consequently, `/tokenize` remains unauthenticated even when `--api-key` is configured, unless an external proxy protects it. The vLLM [Security Guide](https://docs.vllm.ai/en/latest/usage/security/#unprotected-endpoints-no-api-key-required) documents `/tokenize` as an unprotected endpoint.## Root causeThe request value follows this path:1. [`OnlineRenderer.preprocess_chat`](https://github.com/vllm-project/vllm/blob/570735520942b6428ae98f1eb442c6d88adae55e/vllm/renderers/online_renderer.py#L406-L435) places request `mm_processor_kwargs` in prompt extras. 2. Multimodal rendering forwards those kwargs into processor construction through [`MMProcessorInputs`](https://github.com/vllm-project/vllm/blob/570735520942b6428ae98f1eb442c6d88adae55e/vllm/renderers/base.py#L751-L760) and [`_process_multimodal_async`](https://github.com/vllm-project/vllm/blob/570735520942b6428ae98f1eb442c6d88adae55e/vllm/renderers/base.py#L831-L847). 3. [`MultiModalConfig.merge_mm_processor_kwargs`](https://github.com/vllm-project/vllm/blob/570735520942b6428ae98f1eb442c6d88adae55e/vllm/config/multimodal.py#L506-L518) overlays inference values on startup values, so the request wins. 4. [`cached_get_processor_without_dynamic_kwargs`](https://github.com/vllm-project/vllm/blob/570735520942b6428ae98f1eb442c6d88adae55e/vllm/transformers_util

Weakness type: CWE-829, CWE-94

Use this record in your own tools

Get this record as JSON

curl https://securityelites.com/wp-json/se-aivd/v1/vulns/CVE-2026-114053

For scanners and pipelines: OSV format · CycloneDX format · API guide · Email alerts · Fix tracker

The plain-language sections were written with AI from the official record, and the upgrade versions come directly from the official data. Last updated 4 Dec 2026. Read the vendor advisory before changing a production system.