Description
SGLang through 0.5.22 in prefill/decode disaggregation mode contains a server-side request forgery vulnerability that allows unauthenticated attackers to trigger outbound requests via client-supplied bootstrap_host and bootstrap_port fields. Attackers sending crafted requests to the Decode worker's /generate endpoint can probe internal hosts and ports and block the shared scheduler loop, delaying other inference requests.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| sgl-project | sglang | ≤ 0.5.22 | — |
References
- https://github.com/sgl-project/sglang/issues/45008 issue-tracking
- https://github.com/sgl-project/sglang/blob/v0.5.22/python/sglang/srt/disaggregation/common/conn.py#L1157-L1181 technical-description
- https://github.com/sgl-project/sglang/blob/v0.5.22/python/sglang/srt/disaggregation/decode.py#L1150-L1175 technical-description
- VulnCheck Advisory: SGLang through 0.5.22 SSRF via bootstrap_host and bootstrap_port on Decode Worker third-party-advisory