# CVE-2026-5760

> Vulnerability · severity: **CRITICAL** (CVSS 9.8).

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

## Key facts

- **CVE ID:** CVE-2026-5760
- **Published:** 2026-04-20
- **CVSS severity:** CRITICAL
- **CVSS base score:** 9.8
- **CWE codes:** CWE-94

## Primary sources

- NIST NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-5760

## Citation

> AI Analytics. CVE-2026-5760. Retrieved 2026-07-19 from https://api.ai-analytics.org/cve/CVE-2026-5760. Derived from NIST NVD. Licensed CC0.

---

*[Dataset catalog](https://api.ai-analytics.org/datasets/) · [AI Analytics](https://api.ai-analytics.org/) · CC0 1.0*