Remote Code Execution Vulnerability in SGLang by Stuub
CVE-2026-5760
9.8CRITICAL
Key Information:
Badges
๐พ Exploit Exists๐ฐ News Worthy
What is CVE-2026-5760?
The reranking endpoint of SGLang allows for execution of arbitrary code when a model file containing a malicious tokenizer.chat_template is loaded. This occurs due to the rendering of Jinja2 chat templates in an unsandboxed environment, leading to potential exploitation if an attacker can manipulate the model input.
Affected Version(s)
SGLang 8f3097e
News Articles
SGLang CVE-2026-5760 (CVSS 9.8) Enables RCE via Malicious GGUF Model Files
CVE-2026-5760 (CVSS 9.8) exposes SGLang via /v1/rerank endpoint, enabling RCE through malicious GGUF models, risking server compromise.
References
CVSS V3.1
Score:
9.8
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged
Timeline
- ๐พ
Exploit known to exist
- ๐ฐ
First article discovered by The Hacker News
Vulnerability published
Vulnerability Reserved
