MEDIUM5.6
PYSEC-2026-3062
SGLang has an Improper Input Validation/Injection Issue
Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/sglang
Introduced in:
0No fixed version published yet for sglang (pip). Pin to a known-safe version or switch to an alternative.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-7669[ADVISORY]
- https://github.com/gouldnicholas/CVE-2026-7669-PoC[WEB]
- https://github.com/sgl-project/sglang[PACKAGE]
- https://vuldb.com/submit/799263[WEB]
- https://vuldb.com/vuln/360817[WEB]
- https://vuldb.com/vuln/360817/cti[WEB]
- https://pypi.org/project/sglang[PACKAGE]
- https://github.com/advisories/GHSA-6m5f-673f-5vh7[ADVISORY]