Skip to content
SGLangGHSA-36m8-w8qf-g76p

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

Critical9.8CVE-2026-7304 · Published May 18, 2026 · updated Jun 29, 2026

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.

GitHub advisory

Affected versions

PackageAffectedFixed in
sglang
PyPI
>= 0.4.1.post7, <= 0.5.12No fix yet
Details and references
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Severity from
GitHub (reviewed advisory)
Weakness
CWE-502
Also known as
CVE-2026-7304, PYSEC-2026-535

More SGLang advisories

All SGLang

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.