Skip to main content

SGLang CVE-2026-7302

| EUVDEUVD-2026-30764 CRITICAL
Path Traversal: '.../...//' (CWE-35)
2026-05-18 certcc GHSA-qwrp-wghp-94q2
9.1
CVSS 3.1 · Vendor: certcc
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach exposed SGLang upload endpoint
  2. Delivery
    Send upload with ../ in filename
  3. Exploit
    Write file outside upload directory
  4. Execution
    Overwrite executed script or config
  5. Impact
    Achieve code execution or service disruption

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path traversal prevention
Exploitation Conditions

Exploitation requires network reachability to SGLang's multimodal generation upload endpoints and the ability to send an upload whose filename contains ../ traversal sequences; per the CVSS vector (AV:N/AC:L/PR:N/UI:N) no authentication and no user interaction are needed against a reachable instance. The concrete prerequisite is an attacker-controllable upload filename on the specific vulnerable endpoints of the multimodal runtime. Limiting factors that reduce real-world exposure: the SGLang API must actually be reachable by the attacker (many deployments bind it internally or behind a proxy), the target must be running an affected build (5.10 per EUVD), and impact escalation beyond the raw file write depends on the writable paths mapping to executed or security-relevant files (impact is availability/integrity, C:N).

Impact

Signals conflict in an informative way. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, I:H/A:H) describes a trivially reachable, unauthenticated, high-integrity/high-availability-impact write, and SSVC marks it Automatable:yes - both arguing for prompt attention on any exposed instance. Against that, EPSS is only 0.07% (22nd percentile), SSVC Exploitation is 'none', Technical Impact is rated only 'partial', and there is no KEV listing, indicating no observed in-the-wild campaigns. The realistic priority is high for internet-exposed or shared SGLang deployments (arbitrary file write is a strong RCE stepping-stone) but the low EPSS and 'none' exploitation status suggest opportunistic mass exploitation is not yet occurring. Note a nuance: the vector sets C:N, so this is an integrity/availability write primitive, not a direct data-read flaw - actual RCE depends on where writable paths map to executed code.

Exploit ScenarioDerived

An attacker who can reach an exposed SGLang instance sends a crafted upload request to a multimodal endpoint with a filename such as ../../../../opt/app/config or a path into a code/startup directory, causing the server to write attacker-controlled bytes outside the intended upload folder. By overwriting a script, configuration, or a file later executed by the service, the attacker escalates the arbitrary write toward code execution or denial of service. A public write-up (antiproof.ai 'three RCEs in SGLang') documents exploitation techniques, so working knowledge is already circulating.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 23, 2026

Arbitrary file write in SGLang's multimodal generation runtime (version 5.10) allows a remote, unauthenticated attacker to place files anywhere the server process can write by embedding ../ sequences in an upload filename sent to specific endpoints. Because the affected process typically runs LLM inference workloads, a written file can be leveraged toward code execution or service disruption. A public technical write-up describing multiple SGLang RCEs exists, though the EPSS probability is very low (0.07%) and the issue is not listed in CISA KEV.

RemediationAI

No vendor-released patch version is identified at time of analysis, so no exact fix version can be cited from the input data - monitor the SGLang GitHub project (https://github.com/sgl-project/sglang) and the NVD/EUVD advisories (https://nvd.nist.gov/vuln/detail/CVE-2026-7302) for a patched release and upgrade past 5.10 as soon as one is published. As compensating controls until then: do not expose the SGLang HTTP API to untrusted networks - bind it to localhost or place it behind an authenticating reverse proxy and network ACLs so the upload endpoints cannot be reached unauthenticated; restrict the OS user running the server to a minimal, non-writable filesystem layout (read-only application and library directories, uploads confined to a dedicated tmpfs/mount) so traversal cannot reach executable or configuration paths; and if feasible, block or filter requests whose filename parameters contain ../ or absolute paths at the proxy. Trade-offs: reverse-proxy authentication and network restrictions break any client that legitimately reaches the runtime directly, and read-only filesystem hardening may interfere with caching or model-download workflows that expect writable paths.

Affected VersionsENISA

sglang 5.10

Affected Packages

pypi sglang no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

SGLang is a high-performance serving/inference runtime for large language and multimodal models, exposing HTTP endpoints that accept uploads (including multimodal media used for generation). The flaw is CWE-35 (Relative Path Traversal): the upload handler uses the client-supplied filename without canonicalizing or constraining it to a base directory, so ../ traversal sequences escape the intended upload location. This lets the attacker control the destination path of written content rather than the intended sandbox, converting a file-receive feature into an arbitrary-write primitive under the privileges of the serving process.

Know when Sglang gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (certcc) PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
vuln.today AI 9.1 CRITICAL

Remote unauthenticated upload with attacker-controlled path (AV:N/AC:L/PR:N/UI:N); arbitrary file write yields high integrity and availability impact but no direct read, so C:N.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (certcc).

CVSS VectorVendor: certcc

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

Lifecycle Timeline

2
CVE Published
May 18, 2026 - 10:39 nvd
UNKNOWN (no severity yet)
CVE Published
May 18, 2026 - 10:39 cve.org
CRITICAL 9.1

DescriptionCVE.org

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

Executive ViewAI

Why It Matters

SGLang's multimodal generation runtime (version 5.10) contains a critical arbitrary file-write vulnerability allowing unauthenticated remote attackers to inject files into the server's filesystem. Publicly available exploit code exists for this vulnerability, enabling potential code execution and service disruption on production AI infrastructure. Organizations running SGLang for LLM workloads face immediate risk requiring urgent isolation and remediation.

Business Impact: Severe
Compensating Controls

Network segmentation isolating SGLang from untrusted networks; disabling remote file uploads if feasible; strict filename input validation rejecting path-traversal sequences (../ patterns); running SGLang process with least-privilege filesystem permissions; endpoint rate limiting on upload handlers; logging and monitoring of all upload attempts for exploitation detection.

Threat Intelligence Overview

EPSS Score
0.1%
Top 78% exploitable
Prevalence
Medium
popular LLM/multimodal inference runtime, common in ML deployments but not universal
Threat Intel
1
1 sources
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Partial

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

More in Sglang

View all
CVE-2026-127222 HIGH POC
8.7 Nov 18

Missing authorization on SGLang's POST /load_lora_adapter_from_tensors HTTP endpoint lets any client that can reach the

CVE-2026-112082 HIGH POC
7.7 Oct 19

Unauthenticated remote attackers can crash the SGLang inference server (versions up to and including 0.5.19) by calling

CVE-2026-15969 CRITICAL
9.8 Jul 30

Remote code execution in SGLang (versions up to and including 0.5.15) allows unauthenticated attackers to run arbitrary

CVE-2026-3059 CRITICAL
9.8 Mar 12

SGLang's multimodal generation module deserializes untrusted data with pickle.loads() over an unauthenticated ZMQ broker

CVE-2026-3060 CRITICAL
9.8 Mar 12

SGLang's encoder parallel disaggregation system is vulnerable to unauthenticated RCE through pickle deserialization in t

CVE-2026-7304 CRITICAL
9.8 May 18

Unauthenticated remote code execution in SGLang (the LLM/multimodal generation serving runtime) affecting version 5.10 a

CVE-2026-5760 CRITICAL
9.8 Apr 20

Remote code execution in SGLang 0.5.9's /v1/rerank endpoint allows unauthenticated attackers to execute arbitrary code b

CVE-2026-15976 CRITICAL
9.8 Jul 30

Remote code execution in SGLang (versions up to and including 0.5.15) allows attackers to run arbitrary code on the infe

CVE-2026-86793 CRITICAL
9.8 Sep 11

Remote code execution in SGLang AI inference servers allows unauthenticated attackers to run arbitrary code through the

CVE-2026-15971 CRITICAL
9.8 Jul 30

Remote code execution in SGLang (versions ≤ v0.5.15) allows attackers to achieve arbitrary code execution through the op

CVE-2026-7301 CRITICAL
9.8 May 18

Unauthenticated remote code execution affects SGLang, an LLM/multimodal inference-serving framework, at version 5.10, wh

CVE-2026-93034 CRITICAL
9.8 Oct 08

Unauthenticated remote code execution in SGLang versions through v0.5.20 arises from unsafe pickle deserialization in th

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy