Medium

SGLang has an Improper Input Validation/Injection Issue

  • Disclosed: 03.05.2026
  • Updated: 11.10.2026 14:18

A vulnerability was detected in sgl-project SGLang up to 0.5.9. Impacted is the function get_tokenizer of the file python/sglang/srt/utils/hf_transformers_utils.py of the component HuggingFace Transformer Handler. The manipulation results in deserialization. The attack can be executed remotely. A high complexity level is associated with this attack. The exploitability is considered difficult. The vendor was contacted early about this disclosure but did not respond in any way.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) sglang <= 0.5.9 no fix

References

CVSS score 5.6/10
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness (CWE)
CWE-20, CWE-74
Platform
Python (PyPI)
Package
sglang
Disclosed
03.05.2026
Updated
11.10.2026 14:18

Sources and licenses

OSV / GitHub Advisory Database - PYSEC-2026-3062 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-6m5f-673f-5vh7 - CC BY 4.0

Vulnerability history: sglang

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (10) in the archive
Total entries
10
First → latest
09.2025 06.2026
Without a fix
6
Exploited in attacks
0

Severity breakdown

  • Critical 5
  • High 1
  • Medium 2
  • Low 2

Disclosures per year

  1. 2025: 1
  2. 2026: 9
Severity:
  1. Critical · 9.8 CVE-2026-7301 >= 0.5.5, <= 0.5.12 no fix
  2. Critical · 9.8 CVE-2026-7304 >= 0.4.1.post7, <= 0.5.12 no fix
  3. SGLang has an Improper Input Validation/Injection Issue this entry
    Medium · 5.6 CVE-2026-7669 <= 0.5.9 no fix

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.