CVE-2026-7141: Vllm Remote Code Execution Vulnerability

LOW
Advisory Identifier: GHSA-x368-4g9h-fvv4
CVSS 5.6
CWE-908
Published
Advisory Summary

CVE-2026-7141 is a LOW (CVSS 5.6) remote code execution vulnerability (CWE-908: Use of Uninitialized Resource) affecting Vllm libraries in the PyPI ecosystem. The issue involves vllm makes use of uninitialized resource. Remediation is available by upgrading affected packages to version 0.19.1.

CVE-2026-7141 at a Glance

CVE Identifier CVE-2026-7141
GHSA Identifier GHSA-x368-4g9h-fvv4
Severity LOW
CVSS v3.1 Base Score 5.6
CWE Classification CWE-908: Use of Uninitialized Resource
Affected Product Vllm
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 5.6

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability Low (A:L)

How to Fix CVE-2026-7141

To remediate this vulnerability, upgrade all affected Vllm dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

vllm fixed: 0.19.1
pip install vllm>=0.19.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show vllm

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2026-7141, inspect your installed packages using pip:

pip show vllm

Analyze the terminal output to locate any version of Vllm in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.19.1), your application is affected.

Note: The pip show vllm command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-908: Use of Uninitialized Resource, where the product uses or accesses a resource that has not been initialized. In Vllm, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

A vulnerability was found in vLLM up to 0.19.0. The affected element is the function has_mamba_layers of the file vllm/v1/kv_cache_interface.py of the component KV Block Handler. Performing a manipulation results in uninitialized resource. It is possible to initiate the attack remotely. The attack is considered to have high complexity. The exploitability is described as difficult. The exploit has been made public and could be used. The patch is named 1ad67864c0c20f167929e64c875f5c28e1aad9fd. To fix this issue, it is recommended to deploy a patch.

CVE-2026-7141 Affected Vllm Versions

1 component(s)
Fixed Versions:
0.19.1
Product / Package Ecosystem Affected Versions Fixed Version
vllm
PyPI
< 0.19.1
0.19.1

References

Frequently Asked Questions

What is CVE-2026-7141?
CVE-2026-7141 is a security vulnerability in Vllm involving vLLM makes Use of Uninitialized Resource under CWE-908: Use of Uninitialized Resource.
Which Vllm versions are affected?
Affected versions include releases prior to 0.19.1 across affected packages: vllm.
What version fixes CVE-2026-7141?
Upgrading to 0.19.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is vllm affected?
Yes, vllm is affected in releases prior to 0.19.1. Upgrade your dependency to 0.19.1 or later.
What is the CVSS score of CVE-2026-7141?
CVE-2026-7141 has a CVSS v3.1 base score of 5.6 (LOW) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L.
What CWE is associated with CVE-2026-7141?
CVE-2026-7141 is classified under CWE-908: Use of Uninitialized Resource (The product uses or accesses a resource that has not been initialized.).
How can I check PyPI dependencies for CVE-2026-7141?
Run the dependency tree command: 'pip show vllm'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-x368-4g9h-fvv4",
  "modified" : "2026-05-06T17:31:34Z",
  "published" : "2026-04-27T18:32:09Z",
  "aliases" : [ "CVE-2026-7141" ],
  "summary" : "vLLM makes Use of Uninitialized Resource",
  "details" : "A vulnerability was found in vLLM up to 0.19.0. The affected element is the function has_mamba_layers of the file vllm/v1/kv_cache_interface.py of the component KV Block Handler. Performing a manipulation results in uninitialized resource. It is possible to initiate the attack remotely. The attack is considered to have high complexity. The exploitability is described as difficult. The exploit has been made public and could be used. The patch is named 1ad67864c0c20f167929e64c875f5c28e1aad9fd. To fix this issue, it is recommended to deploy a patch.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "vllm"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.19.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-7141"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/vllm-project/vllm/issues/39146"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/vllm-project/vllm/issues/39146#issue-4215090365"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/vllm-project/vllm/pull/39283"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/AjAnubolu/vllm/commit/1ad67864c0c20f167929e64c875f5c28e1aad9fd"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/submit/801297"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/vuln/359740"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/vuln/359740/cti"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-908" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-06T17:31:34Z",
    "nvd_published_at" : "2026-04-27T17:16:45Z"
  }
}