Vulnerability record · CVE-2026-5760 · published 20 April 2026
CVE-2026-5760: Lmsys sglang code injection vulnerability
Lmsys · Sglang
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().
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().
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/Stuub/SGLang-0.5.9-RCE | ExploitThird Party Advisory |
| https://github.com/sgl-project/sglang/pull/23660 | Issue TrackingPatch |
| https://www.kb.cert.org/vuls/id/915947 | Third Party Advisory |
Track CVE-2026-5760 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2026-5760), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.