Skip to main content

SGLang CVE-2026-127222

| EUVDEUVD-2026-129192 HIGH
Missing Authorization (CWE-862)
2026-11-18 VulnCheck GHSA-m386-99gj-pq7p
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach SGLang HTTP server over network
  2. Delivery
    POST /load_lora_adapter_from_tensors without API key
  3. Exploit
    Load attacker-supplied serialized LoRA tensors
  4. Execution
    Manipulate served model outputs
  5. Persist
    Chain deserialization bypass for code execution
  6. Impact
    RCE as root

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires network reachability to the SGLang HTTP server's POST /load_lora_adapter_from_tensors endpoint, which is missing the @auth_level(AuthLevel.ADMIN_OPTIONAL) decorator present on its sibling admin endpoints - so it is invokable with NO API key even when an admin key is configured (PR:N confirms unauthenticated). The practical limiting factor is exposure: the endpoint must be network-accessible to the attacker, and the headline 'unauthenticated RCE as root' additionally requires chaining a separately documented deserialization bypass - the authorization flaw alone yields model manipulation via loading attacker-supplied LoRA tensors (integrity impact only), not code execution by itself.

Impact

Multiple signals point to a genuine, near-term priority rather than a paper-high score. The authoritative CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a network-reachable, low-complexity, unauthenticated flaw with no user interaction, and the vuln.today decision label is 'this_week', consistent with a serious but not actively-exploited issue. KEV status is NOT present in the input, so this is not confirmed as actively exploited; EPSS is not supplied, so probability-of-exploitation cannot be quantified. The PoC signal is weak: the input states 'reference only, not verified as working exploit code', so a public PoC reference exists but is not verified as working exploit code - do not treat it as a confirmed weaponized exploit. The CVSS impact is deliberately narrow (VI:H only; VC:N/VA:N), reflecting that the authorization flaw by itself only yields integrity impact (model manipulation); the quoted 'unauthenticated RCE as root' outcome is explicitly conditioned on chaining a separately documented deserialization bypass, so the full worst-case requires a second vulnerability and should not be scored to this CVE alone. Net: a real, patch-this-week authorization gap with confirmed vendor fix, strong exploitability on default-reachable deployments, but no confirmed active exploitation and only an unverified PoC reference.

Exploit ScenarioDerived

An attacker who can reach the SGLang HTTP server over the network sends a POST to /load_lora_adapter_from_tensors without any API key, because that endpoint is missing the admin authorization decorator its sibling endpoints carry. The attacker supplies serialized tensors to load a malicious LoRA adapter and manipulate the served model's outputs; if the separately documented deserialization bypass is also chained, this escalates to remote code execution as root. A public PoC reference exists but is not verified as working exploit code, so practical exploitation effort is not confirmed.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 PoC candidate (unverified) Patch available 0.9% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 18, 2026

Missing authorization on SGLang's POST /load_lora_adapter_from_tensors HTTP endpoint lets any client that can reach the inference server's port invoke it without an API key and load an attacker-supplied LoRA adapter built from serialized tensors, changing how the served model behaves. The omission of the @auth_level(AuthLevel.ADMIN_OPTIONAL) decorator applied to its sibling admin endpoints (CWE-862) is an integrity-only flaw on its own; the widely quoted 'unauthenticated RCE as root' outcome requires additionally chaining a separately documented deserialization bypass. Affected builds are SGLang through 0.5.23 (vendor fix commit 7b5fb39, PR 49896); public PoC references exist but are not verified as working exploit code, and the vendor-issued patch is available.

RemediationAI

Vendor-released patch: upgrade to a SGLang build containing commit 7b5fb39bb952da5f6da3bb7fe73c671cf449b6fa (pull request https://github.com/sgl-project/sglang/pull/49896); any deployment still on 0.5.23 or earlier should be treated as unpatched. The same change strengthens the admin-key model, so after upgrading, launch the server with an admin key (--admin-api-key or the SGLANG_ADMIN_API_KEY environment variable, with the flag taking precedence) so that ADMIN_FORCE-class endpoints such as weight updates, LoRA loading, profiling and memory release reject unauthenticated calls rather than relying on the key being optional. Where upgrading cannot happen immediately, the actionable compensating controls are to stop exposing the HTTP control plane: bind the server to a private interface and firewall the serving port so only trusted clients can reach it, or front the server with an authenticating reverse proxy that denies POST /load_lora_adapter_from_tensors and the other admin routes - at the cost of added latency, an extra component to operate, and the risk that any client bypassing the proxy still reaches the endpoint. Note that the vendor's position is that the missing decorator is the defect itself, so configuration hardening reduces exposure but only the patched build restores the intended authorization check.

Affected VersionsENISA

sglang 0 ≤0.5.23

Affected Packages

euvd sglang no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

SGLang is an open-source serving runtime for large language models that exposes a FastAPI-based HTTP control plane alongside the inference API, with privileged operations gated by a decorator, @auth_level(), that maps routes to authorisation levels such as AuthLevel.ADMIN_OPTIONAL and AuthLevel.ADMIN_FORCE in http_server.py. CWE-862 (Missing Authorization) is the root cause here: the route handler for POST /load_lora_adapter_from_tensors was never decorated, so the authorization check that protects weight updates, profiling, memory release, pause/continue and other admin operations was simply not applied to it, leaving it callable with no bearer token even on servers where --admin-api-key or SGLANG_ADMIN_API_KEY is configured. Because the endpoint accepts serialized tensor payloads and installs them as a LoRA adapter into the live model, an attacker controls model behaviour through the deserialization-and-load path; the accompanying fix documentation notes that ADMIN_FORCE-class endpoints return 403 when no admin key is configured at all, which is the control this endpoint was missing. Code execution is not inherent to the missing check - it emerges only when the tensor-loading path is combined with a separately documented deserialization bypass, which is why the independent assessment scores confidentiality and availability as unaffected and integrity as high.

Know when Sglang gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.7 HIGH
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
vuln.today AI 7.5 HIGH

Network-reachable endpoint with no API key (PR:N, AV:N/AC:L); impact is model manipulation so I:H, with C:N/A:N since the flaw alone affects integrity only.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Technical POC Analysis

CWE-862 (Missing Authorization) in SGLang's HTTP entrypoint.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

A missing authorization flaw in SGLang's LoRA adapter endpoint (CVE-2026-127222) allows unauthenticated clients to load attacker-controlled adapters, altering model outputs and compromising AI inference integrity. Leadership should prioritize remediation because it impacts trust in AI-driven services and could lead to data poisoning or service disruption.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.9%
Top 39% exploitable
Prevalence
Medium
popular open-source LLM inference server, common in AI stacks but not ubiquitous
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.9%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

65
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Sglang

View all
CVE-2026-112082 HIGH POC
7.7 Oct 19

Unauthenticated remote attackers can crash the SGLang inference server (versions up to and including 0.5.19) by calling

CVE-2026-15969 CRITICAL
9.8 Jul 30

Remote code execution in SGLang (versions up to and including 0.5.15) allows unauthenticated attackers to run arbitrary

CVE-2026-3059 CRITICAL
9.8 Mar 12

SGLang's multimodal generation module deserializes untrusted data with pickle.loads() over an unauthenticated ZMQ broker

CVE-2026-3060 CRITICAL
9.8 Mar 12

SGLang's encoder parallel disaggregation system is vulnerable to unauthenticated RCE through pickle deserialization in t

CVE-2026-7304 CRITICAL
9.8 May 18

Unauthenticated remote code execution in SGLang (the LLM/multimodal generation serving runtime) affecting version 5.10 a

CVE-2026-5760 CRITICAL
9.8 Apr 20

Remote code execution in SGLang 0.5.9's /v1/rerank endpoint allows unauthenticated attackers to execute arbitrary code b

CVE-2026-15976 CRITICAL
9.8 Jul 30

Remote code execution in SGLang (versions up to and including 0.5.15) allows attackers to run arbitrary code on the infe

CVE-2026-86793 CRITICAL
9.8 Sep 11

Remote code execution in SGLang AI inference servers allows unauthenticated attackers to run arbitrary code through the

CVE-2026-15971 CRITICAL
9.8 Jul 30

Remote code execution in SGLang (versions ≤ v0.5.15) allows attackers to achieve arbitrary code execution through the op

CVE-2026-7301 CRITICAL
9.8 May 18

Unauthenticated remote code execution affects SGLang, an LLM/multimodal inference-serving framework, at version 5.10, wh

CVE-2026-93034 CRITICAL
9.8 Oct 08

Unauthenticated remote code execution in SGLang versions through v0.5.20 arises from unsafe pickle deserialization in th

CVE-2026-93088 CRITICAL
9.8 Sep 22

Unauthenticated remote code execution in SGLang 0.5.11 through 0.5.14 occurs when the multimodal generation runtime is l

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy