PyPA Advisory Database
PYSEC-2026-538
SGLang's multimodal generation runtime has an unauthenticated path traversal vulnerability
Details
SGLang's 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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | sglang | From 0.5.5 up to and including 0.5.12 |