CVE-2026-140260: SGLang NGRAM Speculative Decoding ngram_worker.py NGRAMWorker behavioral discrepancy

Published Dec 1, 2026
·
Updated

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

1 affected component
Lmsys Sglang<=0.5.23

Event History

Dec 1, 2026
CVE Published
via MITRE·08:45 AM
Data Sourced
via MITRE·08:45 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:17 AM
DescriptionSeverityWeakness
Event
via NVD·09:17 AM

Frequently Asked Questions

1

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.

2

What level of attacker access is indicated?

The issue can be launched remotely and has a low-privileges requirement. No user interaction is indicated.

3

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.

4

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203