Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') Affecting sglang package, versions [0.5.10rc0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.37% (29th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-SGLANG-16540094
  • published8 May 2026
  • disclosed3 May 2026
  • creditNick Gould, David Rochester

Introduced: 3 May 2026

CVE-2026-7669  (opens in a new tab)
CWE-20  (opens in a new tab)
CWE-74  (opens in a new tab)

How to fix?

There is no fixed version for sglang.

Overview

sglang is a SGLang is a fast serving framework for large language models and vision language models.

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') via the get_tokenizer function in the HuggingFace Transformer Handler component. An attacker can achieve unauthorized access to sensitive information, modify data, or disrupt application functionality by providing specially crafted input that leads to unsafe deserialization.

References

CVSS Base Scores

version 4.0
version 3.1