Skip to content
OpenAdvisories
Critical · 9.8 Public exploit CVE-2026-5760 EUVD-2026-23860GHSA-2wm4-697g-pfq8

CVE-2026-5760

Published Apr 20, 2026 · Updated Apr 29, 2026 · Assigned by certcc

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().

Affected products

VendorProductAffectedFixed
SGLang SGLang 8f3097e —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • Stuub/SGLang-0.5.9-RCE ★ 5 · Apr 2, 2026

    Proof of Concept exploitation of CVE-2026-5760 - RCE in SGLang 0.5.9 via malicious GGUF

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

References