CVE-2026-127222 Details
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.
A missing authorization vulnerability has been identified in SGLang versions through 0.5.23. The vulnerability exists in the POST /load_lora_adapter_from_tensors HTTP endpoint, which lacks the necessary authorization decorator. This oversight allows unauthenticated network-reachable attackers to invoke the endpoint without an API key. Exploitation of this vulnerability enables attackers to load a LoRA adapter from supplied serialized tensors, potentially manipulating the behavior of the served model. When combined with a known deserialization bypass, this could lead to unauthorized remote code execution as root.
Users are advised to upgrade to SGLang version 0.5.22 or later, where the missing authorization has been addressed. For those unable to upgrade, it is recommended to restrict network access to the SGLang server by binding it to the loopback interface, using a firewall to block the HTTP port, or placing it behind an authenticating reverse proxy. Additionally, the --enable-lora option should be disabled if LoRA hot-loading is not needed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 18, 2026CISA-ADP
Assessed Nov 19, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/rahulreddykarne/CVE-2026-127222-sglang | [email protected] | ExploitTechnical Analysis |
| https://github.com/sgl-project/sglang/commit/7b5fb39bb952da5f6da3bb7fe73c671cf449b6fa | [email protected] | Source CodeVendor |
| https://github.com/sgl-project/sglang/pull/49896 | [email protected] | Source CodeVendor |
| https://rahulkarne.com/#/cve/CVE-2026-127222 | [email protected] | ExploitRemedyTechnical Analysis |
| https://www.vulncheck.com/advisories/sglang-missing-authorization-via-load-lora-adapter-from-tensors | [email protected] | AdvisoryBundle |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-862 | Missing Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| SGLang | >= 0.5.8, <= 0.5.21 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 19, 2026 | CVE Modified | CISA-ADP |
| Nov 18, 2026 | New CVE Received | [email protected] |
Volerion