{"id":"CVE-2026-5760","sourceIdentifier":"cret@cert.org","published":"2026-04-20T14:16:21.680","lastModified":"2026-06-17T10:59:36.640","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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()."}],"affected":[{"source":"cret@cert.org","affectedData":[{"vendor":"SGLang","product":"SGLang","versions":[{"version":"8f3097e","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-04-20T14:20:49.607107Z","id":"CVE-2026-5760","options":[{"exploitation":"poc"},{"automatable":"yes"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","description":[{"lang":"en","value":"CWE-94"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:lmsys:sglang:*:*:*:*:*:*:*:*","versionEndExcluding":"0.5.11","matchCriteriaId":"814CE296-5090-4928-9B62-B3B178F739E9"}]}]}],"references":[{"url":"https://github.com/Stuub/SGLang-0.5.9-RCE","source":"cret@cert.org","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/sgl-project/sglang/pull/23660","source":"cret@cert.org","tags":["Issue Tracking","Patch"]},{"url":"https://www.kb.cert.org/vuls/id/915947","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]}]}