Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. sglang
  4. ›
  5. CVE-2026-7304

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

May 18, 2026 (updated May 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.

References

  • antiproof.ai/blog/three-rces-in-sglang
  • github.com/advisories/GHSA-36m8-w8qf-g76p
  • github.com/sgl-project/sglang/tree/main/python/sglang
  • nvd.nist.gov/vuln/detail/CVE-2026-7304

Code Behaviors & Features

Detect and mitigate CVE-2026-7304 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.4.1.7-post up to 0.5.12

Solution

Unfortunately, there is no solution available yet.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data

Source file

pypi/sglang/CVE-2026-7304.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:23:01 +0000.