CVE-2026-5760

9.8 CRITICAL
Published: April 20, 2026 Modified: June 03, 2026
View on NVD

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

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://github.com/Stuub/SGLang-0.5.9-RCE
Source: cret@cert.org
Exploit Third Party Advisory
https://github.com/sgl-project/sglang/pull/23660
Source: cret@cert.org
Issue Tracking Patch
https://www.kb.cert.org/vuls/id/915947
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory

3 reference(s) from NVD

Quick Stats

CVSS v3 Score
9.8 / 10.0
EPSS (Exploit Probability)
0.6%
69th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

lmsys