PyPA Advisory Database
PYSEC-2026-3063
SGLangs `replay_request_dump.py` contains an insecure pickle.load() without validation and proper deserialization
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | sglang | All versions before 0.5.10 (fixed in 0.5.10) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-3989
- https://github.com/sgl-project/sglang/pull/20904
- https://github.com/sgl-project/sglang
- https://github.com/sgl-project/sglang/blob/main/scripts/playground/replay_request_dump.py
- https://github.com/sgl-project/sglang/releases/tag/v0.5.10
- https://orca.security/resources/blog/sglang-llm-framework-rce-vulnerabilities
- https://pypi.org/project/sglang
- https://github.com/advisories/GHSA-hvwj-8w5g-28rg