INCIDENT MAP

Browse / Unsafe Model Loading and Supply Chain / CVE-2026-7304

SGLang: Unauthenticated RCE via --enable-custom-logit-processor

CVE-2026-7304 ยท 2026-05-18 critical

Class
Unsafe Model Loading and Supply Chain (filed by a model that read the advisory)
Technique
Unsafe deserialisation
Affected
sglang (PyPI)
CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.6% chance of exploitation in 30 days

How it works, in short

A custom logit processor sent to the server is deserialised with dill.loads, so an unauthenticated request can run Python code when the option is enabled. (Our summary, written by a model. The source text is below.)

Details

SGLang's multimodal generation runtime is vulnerable to unauthenticated remote code execution when the --enable-custom-logit-processor option is enabled, as Python objects loaded via dill.loads() will be deserialized without validation.

References

Source: GitHub Advisory Database, used under CC BY 4.0.