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

How to fix

Update
  • lmsys sglang0.5.11 or later

Affected products

ProductAffected versionsFixed in
lmsys sglangv < 0.5.110.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.