VAITP Dataset

← Back to the dataset

CVE-2026-110807

Remote DoS via crafted session_params in SGLang ≤0.5.19 io_struct.py endpoint.

  • CVSS 2.1
  • CWE-404
  • Input Validation and Sanitization
  • Remote

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.

CVSS base score
2.1
Published
2026-10-14
OWASP
A05 Security Misconfiguration
Orthogonal defect classification
Checking
Code defect classification
Missing Check
Category
Input Validation and Sanitization
Subcategory
Insecure Parsing or Deserialization
Accessibility scope
Remote
Impact
Denial of Service (DoS)
Affected component
Python

Solution

Upgrade sgl-project SGLang to version 0.5.20 or later, which patches the remote DoS vulnerability in python/sglang/srt/managers/io_struct.py.

Vulnerable code sample

import json

class IOManager:
    def __init__(self, session_params: str):
        # VULNERABLE: unsafe eval of user-provided session_params leading to DoS
        self.session = eval(session_params)  # expects a dict string

    def get_param(self, key):
        return self.session.get(key)

    def serialize(self):
        return json.dumps(self.session)

Patched code sample

import json
import ast

class IOManager:
    def __init__(self, session_params: str):
        # FIX: safe parsing of session_params using ast.literal_eval
        self.session = ast.literal_eval(session_params)  # expects a dict string

    def get_param(self, key):
        return self.session.get(key)

    def serialize(self):
        return json.dumps(self.session)

Published 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.

Cite this entry

@misc{vaitp:cve2026110807,
  title        = {{Remote DoS via crafted session_params in SGLang ≤0.5.19 io_struct.py endpoint.}},
  author       = {Bogaerts, Fr\'ed\'eric and Ivaki, Naghmeh and Fonseca, Jos\'e},
  year         = {2026},
  note         = {VAITP Python Vulnerability Dataset, entry CVE-2026-110807},
  howpublished = {\url{https://netpack.pt/vaitp/vulnerability/CVE-2026-110807/}}
}

Download this entry as JSON Download the whole dataset

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 ::

Before you use the VAITP AI models

Please read and accept the following disclaimer:

By choosing "I understand and accept", you acknowledge that you understand and agree to these terms.