9.8Critical
CVE-2026-5760CVE-2026-5760
Description
SGLang's reranking endpoint (/v1/rerank) achieves Remote Code Execution (RCE) when a model file containing a malcious tokenizer.chat_template is loaded, as the Jinja2 chat templates are rendered using an unsandboxed jinja2.Environment().
Weakness (CWE):
CWE-94
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
References and patches
- https://github.com/Stuub/SGLang-0.5.9-RCE ExploitThird Party Advisory
- https://github.com/sgl-project/sglang/pull/23660 Issue TrackingPatch
- https://www.kb.cert.org/vuls/id/915947 Third Party Advisory
CPE matches (NVD) (1)
cpe:2.3:a:lmsys:sglang:*:*:*:*:*:*:*:*< 0.5.11