← Back to CVEs
CVE-2026-5760
CRITICAL9.8
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().
CVE Details
CVSS v3.1 Score9.8
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published4/20/2026
Last Modified4/20/2026
Sourcenvd
Honeypot Sightings0
Weaknesses (CWE)
CWE-94
References
https://github.com/Stuub/SGLang-0.5.9-RCE(cret@cert.org)
https://www.kb.cert.org/vuls/id/915947(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.