VULNERABILITY INTELLIGENCE
CVE-2026-5760
CVSS score9.8 CRITICAL
EPSS probability0.85%
CISA KEVNot currently listed
Published2026-04-20
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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 classification
- 134c704f-9b21-4f2e-91b3-4a467353bcc0: CWE-94
Primary references
- cret@cert.org — Exploit, Third Party Advisory
- cret@cert.org — Issue Tracking, Patch
- af854a3a-2127-422b-91ae-364da2661108 — Third Party Advisory