CVE-2026-5760

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

No configuration.

History

29 Apr 2026, 14:16

Type Values Removed Values Added
References
  • () https://github.com/sgl-project/sglang/pull/23660 -

20 Apr 2026, 16:16

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
CWE CWE-94
References
  • () https://www.kb.cert.org/vuls/id/915947 -

20 Apr 2026, 14:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-20 14:16

Updated : 2026-04-29 14:16


NVD link : CVE-2026-5760

Mitre link : CVE-2026-5760

CVE.ORG link : CVE-2026-5760


JSON object : View

Products Affected

No product.

CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')