GHSA-ggpf-24jw-3fcw: Vllm Remote Code Execution Vulnerability
CRITICALGHSA-ggpf-24jw-3fcw is a CRITICAL (CVSS 9.8) remote code execution vulnerability (CWE-1395: Dependency on Vulnerable Third-Party Component) affecting Vllm libraries in the PyPI ecosystem. The issue involves cve-2025-24357 malicious model remote code execution fix bypass with pytorch < 2.6.0. Remediation is available by upgrading affected packages to version 0.8.0.
GHSA-ggpf-24jw-3fcw at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix GHSA-ggpf-24jw-3fcw
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.
pip install vllm>=0.8.0
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 GHSA-ggpf-24jw-3fcw, 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.8.0), 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-1395: Dependency on Vulnerable Third-Party Component, where the product has a dependency on a third-party component that contains one or more known vulnerabilities. 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
GHSA-ggpf-24jw-3fcw Affected Vllm Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
vllm
|
PyPI |
< 0.8.0
|
0.8.0
|
References
Frequently Asked Questions
What is GHSA-ggpf-24jw-3fcw?
Which Vllm versions are affected?
What version fixes GHSA-ggpf-24jw-3fcw?
Is vllm affected?
What is the CVSS score of GHSA-ggpf-24jw-3fcw?
What CWE is associated with GHSA-ggpf-24jw-3fcw?
How can I check PyPI dependencies for GHSA-ggpf-24jw-3fcw?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-ggpf-24jw-3fcw",
"modified" : "2025-04-23T02:26:06Z",
"published" : "2025-04-23T02:26:06Z",
"aliases" : [ ],
"summary" : "CVE-2025-24357 Malicious model remote code execution fix bypass with PyTorch < 2.6.0",
"details" : "## Description\n\nhttps://github.com/vllm-project/vllm/security/advisories/GHSA-rh4j-5rhw-hr54 reported a vulnerability where loading a malicious model could result in code execution on the vllm host. The fix applied to specify `weights_only=True` to calls to `torch.load()` did not solve the problem prior to PyTorch 2.6.0.\n\nPyTorch has issued a new CVE about this problem: https://github.com/advisories/GHSA-53q9-r3pm-6pq6\n\nThis means that versions of vLLM using PyTorch before 2.6.0 are vulnerable to this problem.\n## Background Knowledge\nWhen users install VLLM according to the official manual\n\n\nBut the version of PyTorch is specified in the requirements. txt file\n\n\nSo by default when the user install VLLM, it will install the PyTorch with version 2.5.1\n\n\nIn CVE-2025-24357, weights_only=True was used for patching, but we know this is not secure.\nBecause we found that using Weights_only=True in pyTorch before 2.5.1 was unsafe\n\nHere, we use this interface to prove that it is not safe.\n\n\n\n## Fix\nupdate PyTorch version to 2.6.0\n\n## Credit\nThis vulnerability was found By Ji'an Zhou and Li'shuo Song",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "vllm"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.8.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/pytorch/pytorch/security/advisories/GHSA-53q9-r3pm-6pq6"
}, {
"type" : "WEB",
"url" : "https://github.com/vllm-project/vllm/security/advisories/GHSA-ggpf-24jw-3fcw"
}, {
"type" : "WEB",
"url" : "https://github.com/vllm-project/vllm/security/advisories/GHSA-rh4j-5rhw-hr54"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/vllm-project/vllm"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1395" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2025-04-23T02:26:06Z",
"nvd_published_at" : null
}
}