CVE-2026-5760
Last modified
CVE-2026-5760 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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().. EPSS estimates a 0.85% chance of exploitation in the next 30 days.
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().
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Lmsys | Sglang | < 0.5.11 |
References
- https://github.com/Stuub/SGLang-0.5.9-RCEExploit, Third Party Advisory
- https://github.com/sgl-project/sglang/pull/23660Issue Tracking, Patch
- https://www.kb.cert.org/vuls/id/915947Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-5760?
How severe is CVE-2026-5760?
How do I fix CVE-2026-5760?
Are you affected by CVE-2026-5760?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
