Code injection in SGLang
Priority HIGH 82CWE-94Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-94.
Summary
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().
Why it matters now
Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00852 58th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-5760
- 2026-10-03 Alias added: GHSA-2wm4-697g-pfq8
References
More Sglang vulnerabilities
- TI-2026-13378 Deserialization of untrusted data in SGLang CVSS 3.1CRITICAL 9.8
- TI-2026-13373 SGLang contains an RCE vulnerability when the optional dumper subsystem is enabled… CVSS 3.1CRITICAL 9.8
- TI-2026-02644 Deserialization of untrusted data in SGLang CVSS 3.1CRITICAL 9.8
- TI-2026-02643 Deserialization of untrusted data in SGLang CVSS 3.1CRITICAL 9.8
- TI-2026-13380 Missing authentication in SGLang CVSS 3.1HIGH 7.5
- TI-2026-13379 Insufficiently protected credentials in SGLang CVSS 3.1HIGH 7.5
Sources
- CVE-2026-5760 · CVE Program
- CVE-2026-5760 · NVD
- FIRST EPSS
- GHSA-2wm4-697g-pfq8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences