---
id: CVE-2026-7304
title: >-
  SGLangs 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.
summary: >-
  SGLangs 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.
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-502
vendor: lmsys
product: sglang
affected:
  - sglang = 0.5.10
published: '2026-05-18'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T20:10:00.190'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-7304'
references:
  - url: 'https://antiproof.ai/blog/three-rces-in-sglang/'
    label: cret@cert.org
  - url: 'https://github.com/sgl-project/sglang/tree/main/python/sglang'
    label: cret@cert.org
tags:
  - nvd
epss: 0.00875
epssPercentile: 0.58083
ingestedAt: '2026-10-14T20:53:12.302Z'
---

## Overview

SGLangs 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.

## Affected

- `sglang = 0.5.10`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
