Free AI Safety Workshop — in collaboration with explainx.aiSave your seat
AgentbeamBeta
AI agent vulnerability · SGLang

CVE-2026-7304: SGLang: Unauthenticated RCE via --enable-custom-logit-processor

criticalCVSS 3.1 9.8GHSA-36m8-w8qf-g76p

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.

Published May 18, 2026 · Updated May 29, 2026

Affected packages

sglang

Ecosystem
PyPI
Affected
>= 0.4.1.post7, <= 0.5.12
Fixed in
No patched version yet
Check
pip show sglang

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More SGLang vulnerabilities

All SGLang entries