CVE-2026-7302 CVE-2026-7302
Unauthenticated attackers can write arbitrary files via path traversal in upload filenames, potentially leading to code execution or data modification.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-7302?
CVE-2026-7302 is a critical path traversal vulnerability in SGLang, published on 18 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-35
Which versions are affected by CVE-2026-7302?
3 open source packages ship an affected version, including sglang. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
sglang PyPI | From 0.5.5 to 0.5.12 | None |
sglang PyPI | From 0.5.5 to 0.5.12 | None |
sglang PyPI | From 0.5.5 to 0.5.12 | None |
Products include Lmsys Sglang.
How do I fix CVE-2026-7302?
No fix has been published for CVE-2026-7302 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-7302 being exploited?
There is no known exploitation of CVE-2026-7302 in the wild and no public exploit code.
Other vulnerabilities in SGLang
Sources
Also known as GHSA-qwrp-wghp-94q2, PYSEC-2026-538.