{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:lmsys:sglang:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.5.11"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "612785ffdcaf35552f1ed433a981d596ca9fe900"
            }
          ],
          "repo": "https://github.com/sgl-project/sglang",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "certcc",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5760.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "8f3097e"
          },
          {
            "last_affected": "8f3097e"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "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().",
  "id": "CVE-2026-5760",
  "modified": "2026-07-08T05:36:47.859632903Z",
  "published": "2026-04-20T13:46:23.603Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://www.kb.cert.org/vuls/id/915947"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5760.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-5760"
    },
    {
      "type": "FIX",
      "url": "https://github.com/sgl-project/sglang/pull/23660"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/Stuub/SGLang-0.5.9-RCE"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "CVE-2026-5760"
}