vLLM: Security Check Bypass via assert Statement in Activation Function Loading Allows Arbitrary Code Execution
vLLM is an inference and serving engine for large language models (LLMs). Prior to 0.22.0, an assert-based security check in vLLM's activation function loading allows any unauthenticated attacker to achieve arbitrary code execution on the server by publishing a malicious HuggingFace model, when vLLM runs in Python optimized mode (python -O or PYTHONOPTIMIZE=1). This vulnerability is fixed in 0.22.0.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-41523
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 04:07 UTC · Revision 1
Source evidence
vLLM: Security Check Bypass via assert Statement in Activation Function Loading Allows Arbitrary Code Execution
core-osv · Original sourcePublished 22 Jun 2026, 22:18 UTC
vLLM is an inference and serving engine for large language models (LLMs). Prior to 0.22.0, an assert-based security check in vLLM's activation function loading allows any unauthenticated attacker to achieve arbitrary code execution on the server by publishing a malicious HuggingFace model, when vLLM runs in Python optimized mode (python -O or PYTHONOPTIMIZE=1). This vulnerability is fixed in 0.22.0.
osv:CVE-2026-41523
Complete source record
{
"id": "88f505625ac4d54e42c9d285600e4d73b8bdbd83d65edde37c602d51ff6834f8",
"url": "https://osv.dev/vulnerability/CVE-2026-41523",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "vLLM: Security Check Bypass via assert Statement in Activation Function Loading Allows Arbitrary Code Execution",
"summary": "vLLM is an inference and serving engine for large language models (LLMs). Prior to 0.22.0, an assert-based security check in vLLM's activation function loading allows any unauthenticated attacker to achieve arbitrary code execution on the server by publishing a malicious HuggingFace model, when vLLM runs in Python optimized mode (python -O or PYTHONOPTIMIZE=1). This vulnerability is fixed in 0.22.0.",
"evidence": "osv:CVE-2026-41523",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-41523",
"aliases": [
"CVE-2026-41523",
"GHSA-q8gq-377p-jq3r",
"PYSEC-2026-2300"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/vllm-project/vllm",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "0b3ba88f165976e77ca5e6a7a3f5bba4562b80af"
},
{
"fixed": "b3c7ffcab82c2439726f8cb213800f6f38c023d3"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:vllm:vllm:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.22.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "b3c7ffcab82c2439726f8cb213800f6f38c023d3"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v0.21.1rc0",
"v0.20.2rc0",
"v0.20.1rc0",
"v0.19.2rc0",
"v0.19.1rc0",
"v0.18.2rc0",
"v0.18.1rc0",
"v0.17.2rc0",
"v0.18.0rc0",
"v0.17.1rc0",
"v0.17.0rc0",
"v0.16.0rc1",
"v0.15.2rc0",
"v0.16.0rc0",
"v0.15.0rc1",
"v0.14.0rc1",
"v0.14.0rc0",
"v0.13.0rc1",
"v0.11.1",
"v0.11.1rc6",
"v0.11.1rc5",
"v0.11.1rc4",
"v0.11.1rc3",
"v0.11.1rc2",
"v0.11.1rc1",
"v0.11.1rc0",
"v0.11.0rc1",
"v0.10.2rc2",
"v0.10.2rc1",
"v0.10.1rc1",
"v0.10.0rc2",
"v0.10.0",
"v0.10.0rc1",
"v0.9.2rc1",
"v0.9.1rc2",
"v0.9.1",
"v0.9.1rc1",
"v0.9.0",
"v0.8.4",
"v0.8.3rc1",
"v0.8.2",
"v0.8.1",
"v0.8.0rc2",
"v0.8.0rc1",
"v0.7.3",
"v0.7.2",
"v0.7.1",
"v0.7.0",
"v0.6.6.post1",
"v0.6.6",
"v0.6.5",
"v0.6.4.post1",
"v0.6.4",
"v0.6.3.post1",
"v0.6.3",
"v0.6.2",
"v0.6.1.post2",
"v0.6.1.post1",
"v0.6.1",
"v0.6.0",
"v0.5.5",
"v0.5.4",
"v0.5.3.post1",
"v0.5.3",
"v0.5.2",
"v0.5.1",
"v0.5.0.post1",
"v0.5.0",
"v0.4.3",
"v0.4.2",
"v0.4.1",
"v0.4.0.post1",
"v0.4.0",
"v0.3.3",
"v0.3.2",
"v0.3.1",
"v0.3.0",
"v0.2.7",
"v0.2.6",
"v0.2.5",
"v0.2.4",
"v0.2.3",
"v0.2.2",
"v0.2.1",
"v0.2.0",
"v0.1.7",
"v0.1.6",
"v0.1.5",
"v0.1.4",
"v0.1.3",
"v0.1.2",
"v0.1.1",
"v0.1.0",
"submission"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-41523.json"
}
}
],
"modified": "2026-10-28T02:30:33.089544597Z",
"provider": "osv",
"references": [
"https://huntr.com/bounties/dcb05b04-e625-41e7-adbc-bbae0cc2d64c",
"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41523.json",
"https://access.redhat.com/errata/RHSA-2026:36005",
"https://access.redhat.com/errata/RHSA-2026:36006",
"https://access.redhat.com/errata/RHSA-2026:57380",
"https://access.redhat.com/errata/RHSA-2026:57387",
"https://access.redhat.com/errata/RHSA-2026:57389",
"https://access.redhat.com/errata/RHSA-2026:57390",
"https://access.redhat.com/errata/RHSA-2026:59138",
"https://access.redhat.com/errata/RHSA-2026:59139",
"https://access.redhat.com/errata/RHSA-2026:59144",
"https://access.redhat.com/errata/RHSA-2026:59151",
"https://access.redhat.com/errata/RHSA-2026:61627",
"https://access.redhat.com/errata/RHSA-2026:61629",
"https://access.redhat.com/errata/RHSA-2026:62335",
"https://access.redhat.com/errata/RHSA-2026:62336",
"https://access.redhat.com/security/cve/CVE-2026-41523",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41523.json",
"https://github.com/vllm-project/vllm/security/advisories/GHSA-q8gq-377p-jq3r",
"https://nvd.nist.gov/vuln/detail/CVE-2026-41523",
"https://bugzilla.redhat.com/show_bug.cgi?id=2491582",
"https://github.com/vllm-project/vllm/commit/b3c7ffcab82c2439726f8cb213800f6f38c023d3"
],
"provider_metadata": {
"cwe_ids": [
"CWE-617",
"CWE-94"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41523.json"
}
},
"related_cves": [
{
"value": "CVE-2026-41523",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 500228,
"published_at": "2026-06-22T22:18:14.494+00:00"
}