CVE-2026-127222
SGLang 0.5.23 Missing Authorization via load_lora_adapter_from_tensors
High · 8.7Fix available
- CVSS
- 8.7
- EPSS
- 0.57% (p49)
- Published
- 2026-11-18
- Age
- 16d old
- Modified
- 2026-12-01
- Product
- sgl-project sglang
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Description
SGLang through 0.5.23, fixed in commit 7b5fb39, 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.
Fixed in
0.5.22
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | sglang | >=0.5.8, <0.5.22 | 0.5.22 |
Sources
- NVD · first seen 16d ago · NVD terms of use
- OSV · first seen 16d ago · CC-BY 4.0
- CVE List · first seen 16d ago · CVE Terms of Use
References
- https://rahulkarne.com/#/cve/CVE-2026-127222 technical-description
- https://github.com/rahulreddykarne/CVE-2026-127222-sglang technical-description
- https://github.com/sgl-project/sglang/pull/49896 issue-tracking
- https://github.com/sgl-project/sglang/commit/7b5fb39bb952da5f6da3bb7fe73c671cf449b6fa issue-tracking
- https://www.vulncheck.com/advisories/sglang-missing-authorization-via-load-lora-adapter-from-tensors third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/127xxx/CVE-2026-127222.json advisory
- https://github.com/sgl-project/sglang package
- https://nvd.nist.gov/vuln/detail/CVE-2026-127222 advisory
- https://github.com/sgl-project/sglang/pull/41322 issue-tracking
- https://github.com/sgl-project/sglang/commit/3fb721917daf371a267d3bb08676727ed3ca6b29 issue-tracking