Description · from the CVE record

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

Affected

ProductAffectedFixed inSource
SGLang8f3097e–CNA

Scores by source

CISA ADP9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: poc · Automatable: yes · Technical impact: total

References

refgithub.com/Stuub/SGLang-0.5.9-RCErefgithub.com/sgl-project/sglang/pull/23660refkb.cert.org/vuls/id/915947