CVE-2026-22807: CWE-94: Improper Control of Generation of Code ('Code Injection') in vllm-project vllm
vLLM is an inference and serving engine for large language models (LLMs). Starting in version 0.10.1 and prior to version 0.14.0, vLLM loads Hugging Face `auto_map` dynamic modules during model resolution without gating on `trust_remote_code`, allowing attacker-controlled Python code in a model repo/path to execute at server startup. An attacker who can influence the model repo/path (local directory or remote Hugging Face repo) can achieve arbitrary code execution on the vLLM host during model load. This happens before any request handling and does not require API access. Version 0.14.0 fixes the issue.
AI Analysis
Technical Summary
vLLM is an inference and serving engine for large language models. Versions starting at 0.10.1 and prior to 0.14.0 load Hugging Face auto_map dynamic modules during model resolution without gating on the trust_remote_code setting. This improper control of code generation (CWE-94) allows an attacker who can influence the model repository or path—either local or remote—to execute arbitrary Python code on the vLLM host during model startup. This code execution occurs before any request handling and does not require API access. The issue is resolved in vLLM version 0.14.0. The vulnerability has a CVSS 3.1 score of 8.8 (high severity) with network attack vector, low attack complexity, no privileges required, user interaction required, and impacts confidentiality, integrity, and availability. Red Hat has published multiple advisories referencing this CVE and provides updates for affected products.
Potential Impact
An attacker able to control the model repository or path can achieve arbitrary code execution on the host running vLLM during model load, prior to any API request handling. This can lead to full compromise of the system, including confidentiality, integrity, and availability impacts. No privileges or API access are required for exploitation, only the ability to influence the model source location.
Mitigation Recommendations
A fixed version of vLLM (0.14.0) is available that addresses this vulnerability by properly gating the loading of dynamic modules with the trust_remote_code setting. Users should upgrade to vLLM version 0.14.0 or later. Consult the Red Hat advisories for specific patched package versions and updates. No additional mitigations are indicated by the vendor advisory.
CVE-2026-22807: CWE-94: Improper Control of Generation of Code ('Code Injection') in vllm-project vllm
Description
vLLM is an inference and serving engine for large language models (LLMs). Starting in version 0.10.1 and prior to version 0.14.0, vLLM loads Hugging Face `auto_map` dynamic modules during model resolution without gating on `trust_remote_code`, allowing attacker-controlled Python code in a model repo/path to execute at server startup. An attacker who can influence the model repo/path (local directory or remote Hugging Face repo) can achieve arbitrary code execution on the vLLM host during model load. This happens before any request handling and does not require API access. Version 0.14.0 fixes the issue.
CVSS v3.1
Score 8.8high
Affected software
pkg:github/vllm-project/vllmRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
vLLM is an inference and serving engine for large language models. Versions starting at 0.10.1 and prior to 0.14.0 load Hugging Face auto_map dynamic modules during model resolution without gating on the trust_remote_code setting. This improper control of code generation (CWE-94) allows an attacker who can influence the model repository or path—either local or remote—to execute arbitrary Python code on the vLLM host during model startup. This code execution occurs before any request handling and does not require API access. The issue is resolved in vLLM version 0.14.0. The vulnerability has a CVSS 3.1 score of 8.8 (high severity) with network attack vector, low attack complexity, no privileges required, user interaction required, and impacts confidentiality, integrity, and availability. Red Hat has published multiple advisories referencing this CVE and provides updates for affected products.
Potential Impact
An attacker able to control the model repository or path can achieve arbitrary code execution on the host running vLLM during model load, prior to any API request handling. This can lead to full compromise of the system, including confidentiality, integrity, and availability impacts. No privileges or API access are required for exploitation, only the ability to influence the model source location.
Mitigation Recommendations
A fixed version of vLLM (0.14.0) is available that addresses this vulnerability by properly gating the loading of dynamic modules with the trust_remote_code setting. Users should upgrade to vLLM version 0.14.0 or later. Consult the Red Hat advisories for specific patched package versions and updates. No additional mitigations are indicated by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-01-09T22:50:10.288Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-22807","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:3461","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:3462","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:30089","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:30088","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:30087","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:10184","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:3782","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:3713","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:5119","vendor":"Red Hat"}]
Threat ID: 697146bc4623b1157ced22d7
Added to database: 01/21/2026, 21:35:56 UTC
Last enriched: 07/22/2026, 22:30:18 UTC
Last updated: 09/10/2026, 19:36:52 UTC
Views: 403
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.