CVE
CVE-2026-5760
SGLang · SGLang
- First Reported
- Apr 21, 2026
- Latest Reported
- Apr 21, 2026
CVE Enrichment
- CVSS
- 9.8 CRITICAL
- EPSS
- 0.87%
- EPSS Percentile
- 59.59%
- CISA KEV
- Not listed
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().
Technical Details
- CVSS Version
- 3.1
- CNA / NVD Source
- [email protected]
- Published
- 20-Apr-2026 21:16
- Last Modified
- 17-Jun-2026 17:59
- EPSS Date
- 2026-11-20
- CWE
- CWE-94
CVSS Vector
CVSS:3.1 AV:N /
AC:L /
PR:N /
UI:N /
S:U /
C:H /
I:H /
A:H
CNA Products / Version Status
- SGLang · SGLang
Source: CNA · [email protected]
Default status: unknown
8f3097e — affected
Affected Products / Versions
- lmsys / sglang
Source: NVD CPE · affected
Version / affected range: * · before (exclusive) 0.5.11
cpe:2.3:a:lmsys:sglang:*:*:*:*:*:*:*:*
References
Last enrichment sync: 20-Nov-2026 23:04
Sources: NVD · FIRST EPSS · CISA KEV
Latest successful provider update; providers refresh independently.
Sources: NVD · FIRST EPSS · CISA KEV
Latest successful provider update; providers refresh independently.
Reported Context (1)
- A critical command-injection vulnerability (CVE-2026-5760, CVSS 9.8) in SGLang’s /v1/rerank endpoint can be exploited via a malicious GGUF model containing a Jinja2 SSTI payload to achieve remote code execution. SGLang CVE-2026-5760 Could Enable RCE via Malicious GGUF Models
CVE (2)
People (1)
MITRE ATT&CK (1)
Products (1)
Note: Related entities, including threat actors, malware, CVEs, MITRE ATT&CK techniques, vendors, products, tools, countries, and industries, are shown when they appear in the same reporting. Their presence does not necessarily mean they were targeted, compromised, vulnerable, responsible for the activity, or directly involved in the incident.
