9.8Critical

CVE-2026-5760CVE-2026-5760

SGLang SGLang Published: (7 months ago)

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().

Weakness (CWE): CWE-94

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
lmsys sglang < 0.5.11
SGLang SGLang 8f3097e

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:lmsys:sglang:*:*:*:*:*:*:*:* < 0.5.11