vLLM
CVE-2026-54232
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconRegister flashinfer-jit-cache on PyPI with high version
-
DeliveryVictim invokes vulnerable vLLM Docker build
-
Exploituv selects malicious PyPI wheel over vendor index
-
InstallWheel install hook runs as root in build stage
-
C2Backdoor baked into container layer
-
ExecuteImage deployed to production inference cluster
-
ImpactExfiltrate prompts, API keys, and model data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V13 - Configuration Search path element control
|
| Exploitation Conditions | Requires (1) a victim building the vLLM Docker image from a vulnerable Dockerfile prior to 0.22.1 that sets UV_INDEX_STRATEGY=unsafe-best-match and installs flashinfer-jit-cache via --extra-index-url https://flashinfer.ai/whl/, and (2) the attacker having previously registered flashinfer-jit-cache on PyPI with a version string sorting higher than the legitimate vendor-index release (the description cites 0.6.11.post2). No authentication, network position, or victim-side credentials are needed, but exploitation is gated on the build being performed (UI:R) and on PyPI's namespace still being attacker-controllable - once the vLLM maintainers or anyone else defensively registered the name, the window effectively closes for new exploitation. Consumers who pull pre-built vLLM images from a trusted registry rather than building locally are not directly exposed by this CVE. |
| Impact | CVSS 8.8 (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) accurately captures that an unauthenticated network-borne supply-chain action (registering a PyPI name) yields full confidentiality, integrity, and availability loss once a victim builds the image. The UI:R component is the only meaningful brake: exploitation requires someone to actually run the vulnerable Docker build, which limits blast radius to organizations that build vLLM from the upstream Dockerfile rather than consuming a pre-built image from a trusted registry. No EPSS, KEV, or SSVC data was supplied, and no public exploit identified at time of analysis; however, dependency confusion is highly automatable and the prerequisites (claim a PyPI name) are trivial, so the practical likelihood is higher than the absence of POC suggests. A key caveat: vLLM maintainers almost certainly defensively registered the name on PyPI as part of the fix, so the realistic residual risk now is primarily for organizations that have not yet rebuilt with 0.22.1 and continue to pull builds that were poisoned during the window of vulnerability. |
| Exploit ScenarioDerived | An attacker registers the name flashinfer-jit-cache on PyPI with version 0.6.11.post2 (higher than the legitimate vendor-index wheel) containing a malicious setup.py or wheel post-install hook. When a victim builds the official vLLM Docker image, uv resolves the higher PyPI version and executes the attacker's code as root during the build, installing a persistent backdoor that exfiltrates prompts, API credentials, and model artifacts from every container subsequently deployed from that image. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 22, 2026
Remote code execution in vLLM versions prior to 0.22.1 allows attackers to backdoor production LLM inference deployments through a dependency confusion attack in the project's Dockerfile. Because flashinfer-jit-cache was pulled via --extra-index-url with UV_INDEX_STRATEGY=unsafe-best-match while the name remained unregistered on PyPI, any attacker who claimed the name on PyPI with a higher version would have their code executed as root during every Docker build. No public exploit identified at time of analysis, but the supply-chain primitive is well understood and trivially weaponizable.
RemediationAI
Upgrade to vLLM 0.22.1, which removes the unsafe index strategy and/or pins flashinfer-jit-cache to a trusted source; this is the only complete fix and is documented in GHSA-jrf6-vqxq-pjv2 (https://github.com/vllm-project/vllm/security/advisories/GHSA-jrf6-vqxq-pjv2). Organizations that cannot immediately upgrade should rebuild Docker images only after removing UV_INDEX_STRATEGY=unsafe-best-match (forcing first-index resolution, at the cost of breaking installs if the private index is missing a needed wheel), explicitly pinning flashinfer-jit-cache with a hash via --require-hashes, or vendoring the wheel into the build context so PyPI is never consulted for that name. Any image built from a pre-0.22.1 Dockerfile during the exposure window should be treated as potentially backdoored, rotated, and rebuilt from a clean base, and any API keys, model weights, or prompt logs handled by such deployments should be considered compromised and rotated.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
vLLM is a widely used Python-based inference and serving engine for large language models, distributed in part via an official Dockerfile that uses uv/pip to install GPU helper wheels. The Dockerfile references flashinfer-jit-cache from the vendor index https://flashinfer.ai/whl/ as an --extra-index-url while also leaving PyPI as a candidate source. With UV_INDEX_STRATEGY set to unsafe-best-match globally, uv compares versions across all configured indexes and selects the highest, regardless of origin. This is a textbook CWE-427 Uncontrolled Search Path Element manifestation in the modern Python packaging ecosystem: because the attacker controls neither code nor infrastructure but does control which package is named highest on PyPI, a higher-versioned malicious flashinfer-jit-cache (e.g., 0.6.11.post2) wins resolution against the legitimate lower-versioned wheel on the private index. The affected CPE is cpe:2.3:a:vllm-project:vllm covering all releases prior to 0.22.1.
Know when Vllm gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attacker needs no privileges or auth - only a PyPI registration - but a victim must actually build the Dockerfile, hence UI:R; build-time root RCE yields full C/I/A.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
DescriptionCVE.org
vLLM is an inference and serving engine for large language models (LLMs). Prior to 0.22.1, the vLLM Dockerfile is vulnerable to a dependency confusion attack through the flashinfer-jit-cache package. The package is installed from a custom index (flashinfer.ai/whl/) using --extra-index-url, but the package name was not registered on PyPI, and UV_INDEX_STRATEGY="unsafe-best-match" is set globally. An attacker who registers flashinfer-jit-cache on PyPI with version 0.6.11.post2 can execute arbitrary code as root during the Docker build and backdoor every resulting container image, enabling exfiltration of all user prompts, API credentials, and model data from production vLLM deployments This vulnerability is fixed in 0.22.1.
Articles & Coverage 1
Executive ViewAI
vLLM deployments running versions prior to 0.22.1 are vulnerable to remote code execution during Docker builds through a dependency confusion attack, allowing root-level code injection into production LLM inference systems. Organizations face risks including inference service disruption, model theft, and unauthorized access to sensitive data processed by language models. The vulnerability is readily exploitable despite no current public exploits and requires immediate pationing.
Apply vendor patch (vLLM 0.22.1 or later). Interim mitigations pending upgrade: Remove flashinfer-jit-cache from external PyPI index in Dockerfile and specify pinned versions from internal mirrors; enable cryptographic hash verification for all Python dependencies; implement network egress controls blocking external PyPI access during builds; audit Docker build logs for evidence of unexpected package installations.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Affected Products (CPE)CVE.org
vLLM is a high-throughput and memory-efficient inference and serving engine for LLMs. Rated critical severity (CVSS 10.0
vllm-project vllm version v0.6.2 contains a vulnerability in the MessageQueue.dequeue() API function. Rated critical sev
Information exposure in vLLM inference engine versions 0.8.3 to before 0.14.1. Invalid image requests to the multimodal
Timing-based API key recovery in vLLM before 0.11.0rc2 can let remote attackers bypass bearer-token authentication on de
vLLM is a high-throughput and memory-efficient inference and serving engine for LLMs. Rated high severity (CVSS 7.5), th
Denial of service in the vLLM LLM inference server (all versions prior to 0.24.0) allows a remote client to crash the sh
vLLM before version 0.14.1 contains a server-side request forgery vulnerability in the MediaConnector class where incons
Out-of-memory worker crashes in vLLM can be induced by a single small compressed audio payload submitted to the /v1/chat
vLLM is a high-throughput and memory-efficient inference and serving engine for LLMs. Rated medium severity (CVSS 6.5),
GPU memory exhaustion in vLLM versions prior to 0.28.0 lets an attacker with low-privileged API access (PR:L in the CVSS
Multimodal inference requests to vLLM deployments running versions prior to 0.28.0 can trigger a process-level assertion
Uncontrolled resource consumption in vLLM's OpenAI-compatible completions endpoint allows any authenticated API client t
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB