PoC Monitor
← All CVEs
CVE-2026-5760published 20 Apr 2026 13:46 UTCData: JSON · API

SGLang

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

First public PoC Date pendingpublic PoC known, its date not yet looked up
Public PoCs11 on GitHub
CVSS9.8critical · scored by CISA ADP · CWE-94
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

SGLang SGLang
  • 8f3097e

Mitigation

The record names no fix. Check the vendor advisory below.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published20 Apr 2026 · t = 0

Public PoC known, its date not yet looked up; not in CISA KEV.

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
Stuub/SGLang-0.5.9-RCE 2 Apr 2026 −18 d 5 PoC older repo: PoC date unknown, not used for the first PoC
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

POST /v1/rerank

Body markers
The answer can only be "yes" or "no". lipsum.__globals__["os"].popen
PoC User-Agent
evidence_placeholder
Seen in
1 repo: Stuub/SGLang-0.5.9-RCE

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /v1/rerank
(?i)^/v1/rerank(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /v1/rerank
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-5760 SGLang SGLang exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/v1/rerank"; http.request_body; content:"The answer can only be |22|yes|22| or |22|no|22|."; http.request_body; content:"lipsum.__globals__[|22|os|22|].popen"; reference:url,poc.griffinguard.io/cve/CVE-2026-5760; classtype:web-application-attack; sid:9456065; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /v1/rerank
title: SGLang SGLang exploit attempt (CVE-2026-5760)
id: gg-pocmon-cve-2026-5760-9456065
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-5760. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-5760
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/v1/rerank'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.5760