CVE-2026-7304: Critical severity SGLangs SGLangs multimodal generation runtime vulnerability

Published May 18, 2026
·
Updated

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 Software

2 affected components
SGLangs SGLangs multimodal generation runtime
Lmsys Sglang=0.5.10

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Disable the --enable-custom-logit-processor option to prevent unauthenticated deserialization of Python objects via dill.loads().

    SGLangs multimodal generation runtime --enable-custom-logit-processor = disabled
  2. Compensating control

    Restrict network access so the affected SGLangs multimodal generation runtime is not reachable by unauthenticated users capable of triggering the vulnerable code path (especially when the option is enabled).

Event History

May 18, 2026
CVE Published
via MITRE·10:39 AM
Data Sourced
via MITRE·10:39 AM
DescriptionWeakness
Data Sourced
via NVD·12:16 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-7304?

CVE-2026-7304 is classified as a critical severity vulnerability due to its potential for unauthenticated remote code execution.

2

How do I fix CVE-2026-7304?

To mitigate CVE-2026-7304, disable the --enable-custom-logit-processor option or ensure that any deserialized Python objects are properly validated.

3

Who is affected by CVE-2026-7304?

CVE-2026-7304 affects users of the SGLangs multimodal generation runtime that have enabled the custom logit processor.

4

What kind of attack can exploit CVE-2026-7304?

CVE-2026-7304 can be exploited by attackers to remotely execute arbitrary code on a vulnerable system.

5

Is there a patch for CVE-2026-7304?

Currently, there is no official patch for CVE-2026-7304, but it is recommended to follow best practices in securing the application until a fix is released.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203