Skip to content
CriticalVulnerabilityLLM-specific

CVE-2026-5760: SGLang remote code execution through the /v1/rerank endpoint via chat template

Identifier
CVE-2026-5760
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.

Summary

CVE-2026-5760 affects SGLang's reranking endpoint (/v1/rerank). A model file containing a malicious tokenizer.chat_template achieves Remote Code Execution (RCE) when loaded, because the Jinja2 chat templates are rendered with an unsandboxed jinja2.Environment().

Mitigation

The source does not state a fix yet. Check the original advisory for updates.