Security mailing lists by PureSourceCode

CVE-2026-5760

CRITICAL 9.8CVSS 3.1

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

Published
20 Apr 2026
Last modified
17 Jun 2026
Assigned by
cret@cert.org
NVD status
Analyzed
Weakness
CWE-94
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD lmsys sglang
cpe:2.3:a:lmsys:sglang:*:*:*:*:*:*:*:*
< 0.5.11 0.5.11

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 20 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.