← Database

CVE-2026-5760

CRITICAL CVSS: 9.8 Published: 2026-04-20 Modified: 2026-06-17

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 Platforms

Lmsys Sglang

Weakness Type

CWE-94

References