What’s Vulnerable › Vulnerabilities
CVE-2026-5760: CVE-2026-5760
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-04-20 · updated 2026-06-17
- Weakness: CWE-94
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 products
- SGLang: before 0.5.11 — fixed in 0.5.11
How to fix
Upgrade to a fixed version: SGLang 0.5.11. Check the vendor advisory for mitigations.
References
- https://github.com/Stuub/SGLang-0.5.9-RCE
- https://github.com/sgl-project/sglang/pull/23660
- https://www.kb.cert.org/vuls/id/915947
Get alerted when CVE-2026-5760 or the next vulnerability affects your stack