{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-5760 exists.","fix":"No fix has been published for CVE-2026-5760 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-5760 is a critical code injection vulnerability in SGLang, published on 20 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-5760 and fix it if it is affected.\n\nWhat it is: CVE-2026-5760 is a critical code injection vulnerability in SGLang, published on 20 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-5760 exists.\n\nAffected product: SGLang. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-5760/ (Markdown: https://insights.sbomify.com/CVE-2026-5760/index.md)","id":"CVE-2026-5760","markdown":"https://insights.sbomify.com/CVE-2026-5760/index.md","name":"CVE-2026-5760","record":{"aliases":["GHSA-2wm4-697g-pfq8"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"LLM serving framework","requires_auth":"none","summary":"Attackers can achieve remote code execution in SGLang by loading a model with a malicious Jinja2 chat template due to unsandboxed rendering.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"certcc","cpe":[{"product":"sglang","vendor":"lmsys"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"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().","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-04-02","github_poc":1,"max_poc_stars":5,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-04-02T14:24:03Z","kind":"github_poc","ref":"https://github.com/Stuub/SGLang-0.5.9-RCE","stars":5,"title":"Proof of Concept exploitation of CVE-2026-5760 - RCE in SGLang 0.5.9 via malicious GGUF"}],"tier":"weaponised"},"has_fix":false,"headline":"CVE-2026-5760","id":"CVE-2026-5760","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":0,"n_references":2,"next":{"headline":"ReportIncident DiscussionTools integration causes slow requests","id":"CVE-2026-5762"},"packages":[],"prev":{"headline":"Double free and use-after-free in FalkorDB RdbLoadDeletedNodes allows remote code execution via crafted RDB","id":"CVE-2026-5759"},"products":["SGLang"],"published":"2026-04-20","related":[{"cvss_score":9.8,"headline":"CVE-2026-15969","id":"CVE-2026-15969","kev_date_added":null,"published":"2026-07-30"},{"cvss_score":9.8,"headline":"CVE-2026-15971","id":"CVE-2026-15971","kev_date_added":null,"published":"2026-07-30"},{"cvss_score":9.8,"headline":"CVE-2026-15976","id":"CVE-2026-15976","kev_date_added":null,"published":"2026-07-30"},{"cvss_score":9.8,"headline":"CVE-2026-7301","id":"CVE-2026-7301","kev_date_added":null,"published":"2026-05-18"},{"cvss_score":9.8,"headline":"CVE-2026-7304","id":"CVE-2026-7304","kev_date_added":null,"published":"2026-05-18"},{"cvss_score":9.8,"headline":"CVE-2026-3059","id":"CVE-2026-3059","kev_date_added":null,"published":"2026-03-12"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-04-29","vendors":["SGLang"]},"summary":"Attackers can achieve remote code execution in SGLang by loading a model with a malicious Jinja2 chat template due to unsandboxed rendering.","url":"https://insights.sbomify.com/CVE-2026-5760/"}