{"id":"PYSEC-2026-535","summary":"SGLang: Unauthenticated RCE via --enable-custom-logit-processor","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.","aliases":["CVE-2026-7304","GHSA-36m8-w8qf-g76p"],"modified":"2026-07-01T20:23:04.977005Z","published":"2026-06-29T11:50:49.669447Z","references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-7304"},{"type":"WEB","url":"https://antiproof.ai/blog/three-rces-in-sglang"},{"type":"PACKAGE","url":"https://github.com/sgl-project/sglang"},{"type":"WEB","url":"https://github.com/sgl-project/sglang/tree/main/python/sglang"},{"type":"PACKAGE","url":"https://pypi.org/project/sglang"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-36m8-w8qf-g76p"}],"affected":[{"package":{"name":"sglang","ecosystem":"PyPI","purl":"pkg:pypi/sglang"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.4.1.post7"},{"last_affected":"0.5.12"}]}],"versions":["0.4.1.post7","0.4.10","0.4.10.post1","0.4.10.post2","0.4.2","0.4.2.post1","0.4.2.post2","0.4.2.post3","0.4.2.post4","0.4.3","0.4.3.post1","0.4.3.post2","0.4.3.post3","0.4.3.post4","0.4.4","0.4.4.post1","0.4.4.post2","0.4.4.post3","0.4.4.post4","0.4.5","0.4.5.post1","0.4.5.post2","0.4.5.post3","0.4.6","0.4.6.post1","0.4.6.post2","0.4.6.post3","0.4.6.post4","0.4.6.post5","0.4.7","0.4.7.post1","0.4.8","0.4.8.post1","0.4.9","0.4.9.post1","0.4.9.post2","0.4.9.post3","0.4.9.post4","0.4.9.post5","0.4.9.post6","0.5.0rc0","0.5.0rc1","0.5.0rc2","0.5.1","0.5.1.post1","0.5.1.post2","0.5.1.post3","0.5.10","0.5.10.post1","0.5.10rc0","0.5.11","0.5.12","0.5.2","0.5.2rc0","0.5.2rc1","0.5.2rc2","0.5.3","0.5.3.post1","0.5.3.post2","0.5.3.post3","0.5.3rc0","0.5.3rc2","0.5.4","0.5.4.post1","0.5.4.post2","0.5.4.post3","0.5.5","0.5.5.post1","0.5.5.post2","0.5.5.post3","0.5.6","0.5.6.post1","0.5.6.post2","0.5.7","0.5.8","0.5.8.post1","0.5.9"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/sglang/PYSEC-2026-535.yaml"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}