SGLangGHSA-hvwj-8w5g-28rg
SGLang: unsafe deserialization
High7.8CVE-2026-3989 · Published Mar 12, 2026 · updated Jul 13, 2026
SGLangs `replay_request_dump.py` contains an insecure pickle.load() without validation and proper deserialization. An attacker can take advantage of this by providing a malicious .pkl file, which will execute the attackers code on the device running the script.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| sglang PyPI | < 0.5.10 | 0.5.10 |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-502
- Also known as
- CVE-2026-3989, PYSEC-2026-3063
- nvd.nist.gov/vuln/detail/CVE-2026-3989
- github.com/sgl-project/sglang/pull/20904
- github.com/sgl-project/sglang
- github.com/sgl-project/sglang/blob/main/scripts/playground/replay_request_dump.py
- github.com/sgl-project/sglang/releases/tag/v0.5.10
- orca.security/resources/blog/sglang-llm-framework-rce-vulnerabilities
More SGLang advisories
All SGLang| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| May 18 | SGLang's multimodal generation runtime has an unauthenticated path traversal vulnerability | Critical9.1 | No fix yet |
| May 18 | SGLanG: Multimodal scheduler deserializes untrusted pickle data on 0.0.0.0 ROUTER socket | Critical9.8 | No fix yet |
| May 18 | SGLang: Unauthenticated RCE via --enable-custom-logit-processor | Critical9.8 | No fix yet |
| May 3 | SGLang has an Improper Input Validation/Injection Issue | Medium5.6 | No fix yet |
| Mar 12 | SGLang: remote code execution | Critical9.8 | 0.5.10 |
| Mar 12 | SGLang: remote code execution | Critical9.8 | 0.5.10 |