Vulnerability 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().
CVSS Score
CRITICAL
Related Weaknesses (CWE)
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
FAQ
What is CVE-2026-5760?
CVE-2026-5760 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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...
How severe is CVE-2026-5760?
CVE-2026-5760 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-5760?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.