CVE-2026-54232: vLLM dependency confusion in Dockerfile via flashinfer-jit-cache

CVE-2026-54232 · Severity: high · CVSS 8.8 · Published 2026-06-22

vLLM is a popular engine used to run and serve large language models (LLMs). A security flaw in its build process allows attackers to perform a 'dependency confusion' attack, where a malicious package is substituted for a legitimate one during the creation of the software's container image. If exploited, this allows an attacker to embed a backdoor in the software, potentially leading to the theft of sensitive user prompts, API keys, and proprietary model data from any organization using the affected versions.

Technologies: vllm (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2026-54232 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-54232 being exploited in the wild.
How severe is CVE-2026-54232?
High severity, with a CVSS score of 8.8, published 22 June 2026.
Which products and versions are affected?
vllm (PyPI) ECOSYSTEM:introduced=0,fixed=0.22.1.
Is there a fix for CVE-2026-54232?
Yes. vllm (PyPI): upgrade to 0.22.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-54232 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-54232?
Check whether you run vllm (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • vllm (PyPI): upgrade to 0.22.1 or later
    pip install "vllm>=0.22.1"

Technical details

A dependency confusion vulnerability exists in the vLLM Dockerfile due to the use of the `flashinfer-jit-cache` package. The build process uses `uv pip install` with `--extra-index-url` pointing to a custom repository, but the package name was not reserved on the public PyPI registry. Combined with the global setting `UV_INDEX_STRATEGY="unsafe-best-match"`, the installer may prioritize a malicious package uploaded to PyPI over the intended custom version. An attacker who registers the package on PyPI can achieve root-level remote code execution during the Docker build process. This allows for the insertion of a persistent backdoor into the final container image, enabling the exfiltration of prompts, credentials, and model weights. The issue is resolved in version 0.22.1.

Affected products

  • vllm-project vLLM < 0.22.1

Identifiers

  • CVE-2026-54232
  • PYSEC-2026-227

Timeline

  • 2026-06-09: advisory: GitHub Security Advisory published
  • 2026-06-22: disclosed: CVE published to NVD
  • 2026-06-22: patched: Fix confirmed in version 0.22.1

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.