CVE-2026-54232: vLLM: Dependency Confusion Vulnerability in vLLM Dockerfile

Published Jun 22, 2026
·
Updated

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 UVINDEXSTRATEGY="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.

Affected Software

2 affected components
pypi/vllm<0.22.1
vllm vllm<0.22.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade vLLM to a version that resolves this vulnerability.

    Fixed in 0.22.1
  2. Configuration

    Remove the global UV_INDEX_STRATEGY='unsafe-best-match' setting from the Dockerfile or build environment so pip/installer does not use the unsafe-best-match index selection strategy.

    vLLM Dockerfile / build environment UV_INDEX_STRATEGY = remove/unset 'unsafe-best-match'
  3. Configuration

    Do not install packages from a custom index via --extra-index-url for package names that are not registered on PyPI; remove or restrict use of --extra-index-url (flashinfer.ai/whl/) in the Dockerfile and ensure packages are obtained from trusted, verified sources.

    vLLM Dockerfile --extra-index-url = do not use --extra-index-url for unregistered package names (flashinfer.ai/whl/)
  4. Compensating control

    Denylist or block installation of the PyPI package/version flashinfer-jit-cache==0.6.11.post2 in your build systems and internal package caches to prevent the malicious package from being pulled during builds.

  5. Operational

    Assume images built with the vulnerable Dockerfile may be backdoored: rebuild all affected container images after applying fixes and reconfiguration, and rotate any API credentials, secrets, and model/data access tokens that may have been exposed.

Event History

Jun 22, 2026
CVE Published
via MITRE·10:16 PM
Data Sourced
via MITRE·10:16 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-54232?

The severity of CVE-2026-54232 is high with a CVSS score of 8.8.

2

How do I fix CVE-2026-54232?

To fix CVE-2026-54232, upgrade to vLLM version 0.22.1 or later.

3

What type of vulnerability is CVE-2026-54232?

CVE-2026-54232 is a dependency confusion vulnerability found in the vLLM Dockerfile.

4

What impact does CVE-2026-54232 have on my application?

CVE-2026-54232 can allow attackers to execute arbitrary code by exploiting the dependency confusion through the flashinfer-jit-cache package.

5

Who is affected by CVE-2026-54232?

Any users of vLLM versions prior to 0.22.1 are affected by CVE-2026-54232.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203