Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach SGLang generate endpoint
-
ExploitSubmit session_params with wrong-typed field
-
ExecutionTrigger uncaught TypeError in SessionParams
-
ImpactDeny service to request
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource release
|
| Exploitation Conditions | Exploitation requires the ability to send requests to SGLang's 'generate' HTTP endpoint using the session feature, specifically supplying a session_params object in which one of the fields (id, rid, offset, replace, or drop_previous_output) is of an incorrect type - e.g., id or rid as a non-string, offset as a string or bool, or replace/drop_previous_output as a non-bool. In vulnerable versions (≤0.5.19) SessionParams(**obj.session_params) is constructed with no type validation, so the mismatched type raises an uncaught TypeError. Limiting factors: the CVSS assigns PR:L, implying some level of API access/privilege is needed, and no user interaction is required; impact is confined to availability of request handling (no data exposure or code execution). A key real-world caveat: SGLang generate endpoints are often deployed without authentication, which would make the condition trivially reachable (effectively PR:N) despite the vendor's PR:L rating. |
| Impact | This is a low-severity denial-of-service issue, and the available signals are consistent in pointing to limited real-world priority. The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L) yields a base score of only 2.1: network-reachable and low-complexity, but requiring some privilege (PR:L), with no confidentiality or integrity impact and only a low availability impact (VA:L). Exploitation status: publicly available exploit code exists (a repro script is published as a GitHub gist and the CVSS carries E:P/Proof-of-Concept), but this is NOT active exploitation - it is not listed in CISA KEV and no EPSS score was supplied, so widespread or automated exploitation is not evidenced. The source-code evidence (PR #41535) confirms the root cause and the limited impact: supplying a wrong-typed session_params field raises an uncaught TypeError during request tokenization, failing the request rather than achieving code execution or persistent server compromise, which is consistent with VA:L rather than a full-service crash. Note a plausible discrepancy worth verifying: the vector asserts PR:L (authenticated), yet SGLang's HTTP generate endpoint is frequently deployed without authentication, in which case real-world exploitation could be effectively unauthenticated (PR:N) - defenders should verify whether their deployment exposes the endpoint openly. Bottom line: genuine but low-priority; patch in routine cycles, prioritize only if an SGLang generate endpoint is internet-exposed without auth. |
| Exploit ScenarioDerived | An attacker with access to the SGLang generate endpoint sends a crafted request whose session_params object contains a field of the wrong type (for example, 'id' as a list or 'offset' as a string). SGLang constructs the SessionParams struct without type checking, raising an uncaught TypeError that aborts request processing and denies service. A public proof-of-concept repro script demonstrating the crash is available. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 15, 2026
Denial of service in sgl-project SGLang up to 0.5.19 allows remote attackers to crash request handling by submitting a malformed session_params object to the generate endpoint, where a field such as id, rid, offset, replace, or drop_previous_output is supplied with the wrong data type. Because SessionParams is constructed without type validation in vulnerable builds, the mismatched type raises an uncaught TypeError that aborts the affected request path; no data exposure or code execution results. Publicly available exploit code exists (a reproduction script is linked in the references) and the vendor was reportedly notified via an issue but had not responded at the time of disclosure; the issue is low severity (CVSS 2.1/3.1 score of 2.1 with A:L, E:P) and affects availability only.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed. The correction is merged as pull request https://github.com/sgl-project/sglang/pull/41535, which adds a __post_init__ validator to SessionParams in python/sglang/srt/managers/io_struct.py (raising TypeError on non-string id/rid, non-int offset, and non-bool replace/drop_previous_output) and wraps SessionParams construction in tokenizer_manager.py so a TypeError becomes a handled ValueError; because this points to a PR rather than a tagged release, operators should track the repository for the first release incorporating it and, until upgrading, apply the patch or an equivalent validation shim. Mitigating controls with trade-offs include: enforce authentication and authorization in front of the generate endpoint, since SGLang generate endpoints are frequently deployed without auth and this materially reduces exposure (requires configuration and may break unauthenticated clients); restrict network reachability to the SGLang HTTP service via firewall or reverse-proxy allowlists so only trusted clients can reach /generate (limits legitimate distributed callers); and validate or reject session_params at a proxy/gateway, blocking non-string id/rid, non-integer offset, and non-boolean replace/drop_previous_output (adds a layer of request inspection and possible maintenance overhead). None of these controls eliminate the underlying need for the code-level fix. Vendor issue context is available at https://github.com/sgl-project/sglang/issues/41467.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
SGLang is a Python-based LLM serving framework whose request pipeline parses user-supplied JSON into internal structures. The vulnerable component is the SessionParams class defined in python/sglang/srt/managers/io_struct.py, a msgspec.Struct used to carry session state for the generate endpoint. In versions ≤0.5.19, tokenizer_manager.py builds this object with a bare SessionParams(**obj.session_params) call and performs no validation on the field types; msgspec.Struct permits the assignment so the type error surfaces only later when id/rid are expected to be strings, offset an int, and replace/drop_previous_output booleans. A value of the wrong type therefore triggers an uncaught TypeError that propagates through the tokenizer manager, disrupting request handling. The assigned CWE-404 (Improper Resource Shutdown or Release) captures the resulting abort/failed cleanup rather than a memory-corruption or injection class. CVSS 4.0 rates the issue AV:N/AC:L/AT:N/PR:L/UI:N with only VA:L (availability, low) and no confidentiality or integrity impact.
Know when Python gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
Network-reachable generate endpoint, low complexity, no user interaction; PR:L follows the vendor assumption of API access, and only a limited availability impact (A:L) with no C/I impact.
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
DescriptionCVE.org
A weakness has been identified in sgl-project SGLang up to 0.5.19. Affected by this vulnerability is an unknown functionality of the file python/sglang/srt/managers/io_struct.py of the component generate Endpoint. This manipulation of the argument session_params causes denial of service. The attack is possible to be carried out remotely. The exploit has been made available to the public and could be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
EUVD-2026-101757
GHSA-9h5h-jqm8-rrcw
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB