Skip to content
DayZeroHub
High CVSS 8.7CVE-2026-127222

SGLang: Missing Authorization in the load_lora_adapter_from_tensors Endpoint (CVE-2026-127222)

sgl-project sglang

Summary

SGLang up to version 0.5.23 exposes the POST /load_lora_adapter_from_tensors endpoint without requiring authentication, allowing a network-reachable attacker to manipulate the served model. The source indicates a fix is available in commit 7b5fb39.

What happened

The HTTP endpoint POST /load_lora_adapter_from_tensors lacks the @auth_level(AuthLevel.ADMIN_OPTIONAL) decorator applied to its sibling admin endpoints, so it can be invoked without an API key. A network-reachable attacker can load a LoRA adapter from attacker-supplied serialized tensors and thereby manipulate the served model. According to the description, when combined with a separately documented deserialization bypass, this could allow unauthenticated remote code execution as root. It is classified as CWE-862 (missing authorization).

Why it matters

The source (CNA VulnCheck) assigns a CVSS 4.0 score of 8.7, high severity, with vector 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: network-reachable, no privileges or user interaction required, with high integrity impact. CISA's KEV catalog does not list this vulnerability as exploited, and the source does not state active exploitation. The references include third-party technical material tagged as exploit.

Affected products and versions

sglang (sgl-project): versions <= 0.5.23 (last affected version: 0.5.23). The source lists commit 7b5fb39bb952da5f6da3bb7fe73c671cf449b6fa as unaffected; it does not state a released version number containing the fix.

ProductVersionsFixed in
sgl-project sglang<= 0.5.23—
sgl-project sglang7b5fb39bb952da5f6da3bb7fe73c671cf449b6fa7b5fb39bb952da5f6da3bb7fe73c671cf449b6fa

Action recommended by the source

According to the source, the fix is in commit 7b5fb39bb952da5f6da3bb7fe73c671cf449b6fa (pull request 49896 of sgl-project/sglang). The source does not state additional mitigations or a fixed version number; readers are advised to consult the vendor's repository.

Fixed in: 7b5fb39bb952da5f6da3bb7fe73c671cf449b6fa

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-862

Relevant change history

  1. Published

    Advisory published.

Summary written with AI assistance from the source data. See the sources and references for complete information. View sources