CVE-2026-140260: SGLang NGRAM Speculative Decoding ngram_worker.py NGRAMWorker behavioral discrepancy
A vulnerability was identified in SGLang up to 0.5.23. Affected is the function NGRAMWorker of the file python/sglang/srt/speculative/ngramworker.py of the component NGRAM Speculative Decoding. Such manipulation leads to observable behavioral discrepancy. The attack can be launched remotely. The exploit is publicly available and might be used. The pull request to fix this issue awaits acceptance.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed?
Deployments of LMSYS SGLang up to version 0.5.23 are affected when using the NGRAM Speculative Decoding component, specifically its NGRAMWorker functionality.
What level of attacker access is indicated?
The issue can be launched remotely and has a low-privileges requirement. No user interaction is indicated.
Is exploitation practical or publicly documented?
A public exploit is available, and the issue is flagged as having a proof of concept. This increases the likelihood that the vulnerability could be used.
Is a fix available for immediate deployment?
The provided information states that the pull request for a fix is awaiting acceptance. It does not identify an accepted patch or a workaround.