Description
SGLang contains a RCE vulnerability when attempting to load model weights from a HuggingFace repository, specifically within the /update_weights_from_disk, where torch.load(..., weights_only=False) fallback enables pickle deserialization of .bin files.
Affected products
lmsys: sglang
References3
- github.com/sgl-project/sglang/security/advisories/GHSA-wf98-gv6… Broken Link
- thoughts.apoorvdayal.com/posts/sglang-disclosures/ Third Party AdvisoryMitigation
- thoughts.apoorvdayal.com/posts/sglang-disclosures/ Third Party AdvisoryMitigation
Metrics
- CVSS 3.1
-
9.8
CRITICAL
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS — exploit probability
- 1% percentile: 49 · as of 13 November 2026
- CWE
- CWE-502
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.