CVE-2026-5760
9.8critical
CVE-2026-5760
- Severity
- 9.8critical CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 1.19% (higher than 68% of CVEs)
- Published
- Last changed
- Assigned by
- certcc
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().
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| SGLang SGLang | 8f3097e | CVE List |
| lmsys sglang | before 0.5.11 | NVD |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.
References
| https://github.com/Stuub/SGLang-0.5.9-RCE | exploit, third-party-advisory | |
| https://github.com/sgl-project/sglang/pull/23660 | issue-tracking, patch | |
| https://www.kb.cert.org/vuls/id/915947 | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-5760 changed 2026-04-29 | CVE Terms of Use |
| NVD | CVE-2026-5760 changed 2026-06-17 | Public domain |