VU#777338: SGLang contains two remote code execution and one path traversal vulnerability

Kurzinfo

Metadaten

  • Original (extern): Link oeffnen
  • Veroeffentlicht: 2026-05-18 10:40 UTC
  • Importiert: 2026-07-02 15:14 UTC
  • CVSS: 9.8
  • Quelle-ID: certcc_vuln
  • uid_hash: 5df6e770e5637a207f77ab0b2af58f9609964bb555db0df5b11902b347e3e0c0

Inhalt

Overview

Three vulnerabilities have been discovered in the SGLang project, two enabling remote code execution (RCE), and one regarding a path traversal vulnerability. In order for an attacker to exploit these vulnerabilities, the multimodal generation mode must be enabled, and an attacker must have network access to the SGLang service. No patch is available at this time, and no response was obtained from the project maintainers during coordination.

Description

SGLang is an open-source framework for serving large language models (LLMs) and multimodal AI models, supporting models such as Qwen, DeepSeek, Mistral, and Skywork, and is compatible with OpenAI APIs. Three vulnerabilities have been discovered within the tool and are tracked as follows:

CVE-2026-7301

The multimodal generation runtime scheduler's ROUTER socket contains a sink that calls pickle.loads() on incoming messages, enabling RCE when exposed to the internet.

This vulnerability is distinct from CVE-2026-3060 and CVE-2026-3059, which would be open to the Internet via the ZMQ broker, which automatically binded to all network interfaces without user awareness. CVE-2026-7301 is exposed to the internet by default through the scheduler host, which binds to 0.0.0.0 by default.

CVE-2026-7302

The multimodal generation runtime is vulnerable to an unauthenticated path traversal vulnerability, allowing an attacker to write arbitrary files anywhere the server process has write access, by including ../ sequences in the upload filename when sent to specific endpoints.

CVE-2026-7304

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

Impact

If exploited, these vulnerabilities could allow an unauthenticated attacker to achieve remote code execution or arbitrary file writes on the host running SGLang. Deployments that expose the affected interface to untrusted networks are at the highest risk of exploitation.

Solution

Until a patch is available, affected users should consider the following mitigations:

Mitigation

Restrict access to the service interfaces and ensure they are not exposed to untrusted networks.

Implement network segmentation and access controls to prevent unauthorized interaction with the vulnerable endpoints.

Acknowledgements

Thanks to the reporter, Alon Shakevsky. This document was written by Christopher Cullen.

Vendor Information

    One or more vendors are listed for this advisory. Please reference the full report for more information.

References

https://github.com/sgl-project/sglang/tree/main/python/sglang

https://antiproof.ai/blog/three-rces-in-sglang/

Other Information

CVE IDs:

CVE-2026-7302 CVE-2026-7304 CVE-2026-7301

Date Public:

2026-05-18

Date First Published: 2026-05-18

Date Last Updated: 2026-05-18 10:40 UTC

Document Revision: 1

About vulnerability notes

Contact us about this vulnerability

Provide a vendor statement

Verknuepfte CVEs

CVE-ID Severity (Quelle) CVSS (Quelle) Severity (CVE.org) CVSS (CVE.org) EPSS EPSS-Pctl Veroeffentlicht (CVE.org)

CVE-2026-3059

CRITICAL

9.8

CRITICAL

9.8

2026-03-12

CVE-2026-3060

CRITICAL

9.8

CRITICAL

9.8

2026-03-12

CVE-2026-7301

CRITICAL

9.8

CRITICAL

9.8

2026-05-18

CVE-2026-7302

CRITICAL

9.8

CRITICAL

9.1

2026-05-18

CVE-2026-7304

CRITICAL

9.8

CRITICAL

9.8

2026-05-18

Quellen-Details

Bezeichnung Name Kategorie Tags Zielgruppe Sprache Feed-URL
CERT/CC Vulnerability Notes

certcc_vuln

threat_intel - de https://www.kb.cert.org/vuls/atomfeed/