What’s Vulnerable › Vulnerabilities

CVE-2026-5760: CVE-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().

Affected products

How to fix

Upgrade to a fixed version: SGLang 0.5.11. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-5760 or the next vulnerability affects your stack