Back to overview

CVE-2026-5760

CRITICAL Exploitation: PoC
9.8
CVSS 3.1
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().

Metadata

CVE ID
CVE-2026-5760
State
PUBLISHED
Assigner
certcc
Reserved
2026-04-07 18:02 UTC
Published
2026-04-20 13:46 UTC
Last updated
2026-04-29 13:23 UTC
Primary CWE
CWE-94
CWE-94 Improper Control of Generation of Code ('Code Injecti…
Vendor / Product
SGLang / SGLang
Sources
cve.org  ·  NVD

Severity & Metrics

9.8 CRITICAL CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SSVC — CISA Coordinator
Exploitation
PoC
Automatable
yes
Tech. Impact
total
Affected products (1)
VendorProductPlatformVersions
SGLang SGLang 8f3097e
Weakness (CWE)
CWESourceDescription
cna CWE-94: Improper Control of Generation of Code ('Code Injection')
CWE-94 adp CWE-94 Improper Control of Generation of Code ('Code Injection')
CVSS scores (1)
ScoreSeverityVersionSourceVector
9.8 CRITICAL 3.1 adp CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Back to overview