sgl-project/sglang · Security
SGLangs `replay_request_dump.py` contains an insecure pickle.load() without validation and proper deserialization
- GHSA ID
- GHSA-hvwj-8w5g-28rg
- CVE ID
- CVE-2026-3989
- Severity
- high
- Published
- Updated
- CVSS
- 7.8 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS v3
- 7.8 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Description
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.
CWEs
- CWE-502 · Deserialization of Untrusted Data
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-3989 ↗
- https://github.com/sgl-project/sglang/blob/main/scripts/playground/replay_request_dump.py ↗
- https://orca.security/resources/blog/sglang-llm-framework-rce-vulnerabilities ↗
- https://github.com/sgl-project/sglang/pull/20904 ↗
- https://github.com/sgl-project/sglang/releases/tag/v0.5.10 ↗
- https://github.com/advisories/GHSA-hvwj-8w5g-28rg ↗