SGLangGHSA-hvwj-8w5g-28rg
SGLang: unsafe deserialization
Fix: upgrade to 0.5.10 or later
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