CVE-2026-110809
DoS via remote exploit of Session.create_req in SGLang ≤0.5.19.
- CVSS 2.1
- CWE-404
- Resource Management
- Remote
A security vulnerability has been detected in sgl-project SGLang up to 0.5.19. Affected by this issue is the function Session.create_req of the file python/sglang/srt/session/session_controller.py of the component Session Cleanup. Such manipulation leads to denial of service. The attack may be performed from remote. The exploit has been disclosed publicly and may be used. The pull request to fix this issue awaits acceptance.
- CWE
- CWE-404
- CVSS base score
- 2.1
- Published
- 2026-10-15
- OWASP
- A05 Security Misconfiguration
- Orthogonal defect classification
- Timing/Serialization
- Code defect classification
- Timing Issues
- Category
- Resource Management
- Subcategory
- Resource Exhaustion
- Accessibility scope
- Remote
- Impact
- Denial of Service (DoS)
- Affected component
- Python
- Fixed by upgrading
- Yes
Solution
Upgrade sgl-project SGLang to version 0.5.20 (or any later release) where the Session.create_req DoS vulnerability is patched.
Vulnerable code sample
import threading
from collections import deque
class SessionController:
def __init__(self):
# Holds pending request objects
self._pending = deque()
self._lock = threading.Lock()
def create_req(self, request):
"""Create a new request and enqueue it for processing."""
# VULNERABLE: unbounded growth of _pending may exhaust memory
with self._lock:
self._pending.append(request)
def process_next(self):
"""Process the next request in the queue."""
with self._lock:
if self._pending:
req = self._pending.popleft()
# placeholder for actual processing
self._handle(req)
def _handle(self, req):
pass # implementation omittedPatched code sample
import threading
from collections import deque
class SessionController:
def __init__(self):
# Holds pending request objects, capped to avoid exhaustion
self._pending = deque()
self._max_pending = 1000
self._lock = threading.Lock()
def create_req(self, request):
"""Create a new request and enqueue it for processing."""
# FIX: enforce a maximum queue size to prevent resource exhaustion
with self._lock:
if len(self._pending) < self._max_pending:
self._pending.append(request)
else:
# Discard or raise; here we simply drop the request
pass
def process_next(self):
"""Process the next request in the queue."""
with self._lock:
if self._pending:
req = self._pending.popleft()
# placeholder for actual processing
self._handle(req)
def _handle(self, req):
pass # implementation omittedPublished fix
Public sources link this CVE to the changes below. The code samples above were generated to illustrate the defect; these links lead to the code the project actually changed.
- [Fix] session: Fix session replacement without a request ID (sgl-project/sglang)
python/sglang/srt/session/session_controller.py · Session.create_req
Cite this entry
@misc{vaitp:cve2026110809,
title = {{DoS via remote exploit of Session.create_req in SGLang ≤0.5.19.}},
author = {Bogaerts, Fr\'ed\'eric and Ivaki, Naghmeh and Fonseca, Jos\'e},
year = {2026},
note = {VAITP Python Vulnerability Dataset, entry CVE-2026-110809},
howpublished = {\url{https://netpack.pt/vaitp/vulnerability/CVE-2026-110809/}}
}
Introducing the "VAITP dataset": a specialized repository of Python vulnerabilities and patches, meticulously compiled for the use of the security research community. As Python's prominence grows, understanding and addressing potential security vulnerabilities become crucial. Crafted by and for the cybersecurity community, this dataset offers a valuable resource for researchers, analysts, and developers to analyze and mitigate the security risks associated with Python. Through the comprehensive exploration of vulnerabilities and corresponding patches, the VAITP dataset fosters a safer and more resilient Python ecosystem, encouraging collaborative advancements in programming security.
The supreme art of war is to subdue the enemy without fighting.
Sun Tzu – “The Art of War”
:: Shaping the future through research and ingenuity ::
