Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.7%top 49%

CVE-2026-41523: CWE-94: Improper Control of Generation of Code ('Code Injection') in vllm-project vllm

0
High
VulnerabilityCVE-2026-41523cvecve-2026-41523cwe-94cwe-617
Published: 06/22/2026 (06/22/2026, 22:18:14 UTC)
Source: CVE Database V5
Vendor/Project: vllm-project
Product: vllm

Description

vLLM is an inference and serving engine for large language models (LLMs). Prior to 0.22.0, an assert-based security check in vLLM's activation function loading allows any unauthenticated attacker to achieve arbitrary code execution on the server by publishing a malicious HuggingFace model, when vLLM runs in Python optimized mode (python -O or PYTHONOPTIMIZE=1). This vulnerability is fixed in 0.22.0.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected software

vllm
pkg:pypi/vllm
Affected versions
<0.22.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/23/2026, 22:04:59 UTC

Technical Analysis

CVE-2026-41523 is a code injection vulnerability (CWE-94) in vLLM, an inference and serving engine for large language models. Before version 0.22.0, an assert-based security check in the activation function loading can be bypassed when vLLM runs in Python optimized mode (python -O or PYTHONOPTIMIZE=1). This bypass enables any unauthenticated attacker to achieve arbitrary code execution on the server by publishing a malicious HuggingFace model. The vulnerability is addressed in vLLM 0.22.0. The CVSS 3.1 base score is 7.5, indicating high severity with network attack vector, high impact on confidentiality, integrity, and availability, and requiring user interaction with high attack complexity.

Potential Impact

An attacker can remotely execute arbitrary code on the server running vulnerable versions of vLLM in Python optimized mode by supplying a malicious model. This compromises the confidentiality, integrity, and availability of the affected system. No known exploits in the wild have been reported yet.

Mitigation Recommendations

Upgrade vLLM to version 0.22.0 or later, where this vulnerability is fixed. Since this is a code execution vulnerability triggered by running vLLM in Python optimized mode, avoid running vLLM with python -O or PYTHONOPTIMIZE=1 if upgrading is not immediately possible. Patch status is confirmed fixed in 0.22.0 as per the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-20T18:18:50.682Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-41523","vendor":"Red Hat"}]

Threat ID: 6a39b9b1eed863c81e85ff8f

Added to database: 06/22/2026, 22:39:45 UTC

Last enriched: 07/23/2026, 22:04:59 UTC

Last updated: 08/06/2026, 12:41:10 UTC

Views: 136

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses