{"id":"CVE-2026-5760","aliases":["EUVD-2026-23860","GHSA-2wm4-697g-pfq8"],"status":"published","title":"CVE-2026-5760","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().","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-10","score":0.00852,"percentile":0.58543,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-94"],"published":"2026-04-20T13:46:23Z","modified":"2026-10-28T02:31:07Z","exploits":[{"source":"pocgithub","id":"Stuub/SGLang-0.5.9-RCE","title":"Stuub/SGLang-0.5.9-RCE","date":"2026-04-02","url":"https://github.com/Stuub/SGLang-0.5.9-RCE"}],"products":[{"vendor":"lmsys","product":"sglang"},{"vendor":"sgl-project","product":"sglang"},{"vendor":"sglang","product":"sglang"}],"references":[{"url":"https://github.com/Stuub/SGLang-0.5.9-RCE","tags":["Exploit","Third Party Advisory","package"]},{"url":"https://github.com/sgl-project/sglang/pull/23660","tags":["Issue Tracking","Patch","fix"]},{"url":"https://www.kb.cert.org/vuls/id/915947","tags":["Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5760","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-2wm4-697g-pfq8"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5760.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-5760","title":"CVE-2026-5760","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().","status":"published","published":"2026-04-20T13:46:23.603Z","modified":"2026-04-29T13:23:42.103Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T13:39:27.849196Z"}],"euvd":[{"id":"EUVD-2026-23860","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().","status":"published","published":"2026-04-20T13:46:23Z","modified":"2026-04-29T13:23:42Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T19:05:19.922616Z"}],"ghsa":[{"id":"GHSA-2wm4-697g-pfq8","title":"SGLang's reranking endpoint (/v1/rerank) achieves Remote Code Execution (RCE) when a model file...","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().","status":"published","published":"2026-04-20T15:31:52Z","modified":"2026-04-29T15:31:38Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T15:07:51.219984Z"}],"nvd":[{"id":"CVE-2026-5760","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().","status":"published","published":"2026-04-20T14:16:21.68Z","modified":"2026-06-17T10:59:36.64Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:12:15.120927Z"}],"osv":[{"id":"CVE-2026-5760","title":"CVE-2026-5760","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().","status":"published","published":"2026-04-20T13:46:23.603Z","modified":"2026-10-28T02:31:07.468057525Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:12.016252Z"}]}}
