Description
SGLang 0.5.8 before 0.5.22, fixed in commit 3fb7219, contains a missing authorization vulnerability in the POST /load_lora_adapter_from_tensors HTTP endpoint, which lacks the @auth_level(AuthLevel.ADMIN_OPTIONAL) decorator applied to its sibling admin endpoints, allowing unauthenticated network-reachable attackers to invoke it without an API key. Attackers can load a LoRA adapter from attacker-supplied serialized tensors to manipulate the served model, and when combined with a separately documented deserialization bypass, achieve unauthenticated remote code execution as root.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| sgl-project | sglang | >= 0.5.8, < 0.5.22; 0.5.22 |
References
- https://github.com/rahulreddykarne/CVE-2026-127222-sglang
- https://github.com/sgl-project/sglang/commit/3fb721917daf371a267d3bb08676727ed3ca6b29
- https://github.com/sgl-project/sglang/pull/41322
- https://rahulkarne.com/#/cve/CVE-2026-127222
- https://www.vulncheck.com/advisories/sglang-missing-authorization-via-load-lora-adapter-from-tensors
Timeline
- Published
- Nov 18, 2026
- Last modified
- Dec 1, 2026
- NVD status
- Deferred