← Back

CVE-2026-5760

nvd nist
Published: Apr 20, 2026Modified: Jun 17, 2026

JSON object

Loading...
9.8
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Exploitability: 3.9 / Impact: 5.9
Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

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

Products: Lmsys: Sglang
1 product
Sglang
Configuration A
1 vulnerable
Vulnerable SoftwareAffected Versions
Before 0.5.11

References (3)

Source: cret@cert.org
ExploitThird Party Advisory
Source: cret@cert.org
Issue TrackingPatch
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory

Timeline

No history available yet.