CVE-2026-54232 PUBLISHED

vLLM: Dependency Confusion Vulnerability in vLLM Dockerfile

Assigner: GitHub_M
Reserved: 12.06.2026 Published: 22.06.2026 Updated: 23.06.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS Score: 8.8

Product Status

Vendor vllm-project
Product vllm
Versions
  • Version < 0.22.1 is affected

References

Problem Types

  • CWE-427: Uncontrolled Search Path Element CWE