CVE-2026-127222
8.7high
SGLang 0.5.8 before 0.5.22 Missing Authorization via load_lora_adapter_from_tensors
- Severity
- 8.7high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.57% (higher than 48% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| sgl-project sglang | from 0.5.8 before 0.5.22, 0.5.22 | CVE List |
All scores
| VulnCheck | 8.7high CVSS:4.0 | 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 |
| VulnCheck | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
References
| https://rahulkarne.com/#/cve/CVE-2026-127222 | exploit, technical-description | |
| https://github.com/rahulreddykarne/CVE-2026-127222-sglang | exploit, technical-description | |
| https://github.com/sgl-project/sglang/pull/41322 | issue-tracking, patch | |
| https://github.com/sgl-project/sglang/commit/3fb721917daf371a267d3bb08676727ed3ca6b29 | issue-tracking, patch | |
| https://www.vulncheck.com/advisories/sglang-missing-authorization-via-load-lora-adapter-from-tensors | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-127222 changed 2026-12-01 | CVE Terms of Use |
| NVD | CVE-2026-127222 changed 2026-12-01 | Public domain |