CVE-2026-5760
Critical
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().
SeverityCritical
CVSS9.8
Exploit probability—
ProductLmsys Sglang
PublishedApr 20, 2026
First seenApr 20, 2026
Weakness typeCWE-94Code injection
How to fix
Update
- lmsys sglang0.5.11 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| lmsys sglang | v < 0.5.11 | 0.5.11 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.