Auth bypass in Sgl-Project Sglang
CVE-2026-127222
- CVSS v3
- 7.5 High
- Public exploits
- 1 repository
- EPSS
- 0.008 · 53.3th percentile
- Published
- 2026-11-18
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.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- High
I:H - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.008, 53.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- rahulreddykarne/CVE-2026-127222-sglang (last pushed 2026-11-17): Missing Authorization on sglang /load_lora_adapter_from_tensors endpoint (CVE-2026-127222)
References
- rahulkarne.com/ (technical-description, exploit)
- github.com/rahulreddykarne/CVE-2026-127222-sglang (technical-description, exploit)
- github.com/sgl-project/sglang/pull/49896 (issue-tracking, patch)
- github.com/sgl-project/sglang/commit/7b5fb39bb952da5f6da3bb7fe73c671cf449b6fa (issue-tracking, patch)
- www.vulncheck.com/advisories/sglang-missing-authorization-via-load-lora-adapter… (third-party-advisory)