Skip to main content

Open WebUI CVE-2026-87014

| EUVDEUVD-2026-75173 MEDIUM
Insufficient Session Expiration (CWE-613)
2026-09-09 GitHub_M GHSA-wjwr-xfp9-r66p
6.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Establish Socket.IO session with administrator credentials
  2. Delivery
    Receive role demotion via SSO, SCIM, or OAuth pipeline
  3. Exploit
    Database role updated without SESSION_POOL invalidation
  4. Execution
    Stale admin context retained on existing connection
  5. Impact
    Read and modify all users' collaborative notes until connection closes

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V7 - Session Management Session expiration enforcement
Exploitation Conditions

Exploitation requires all of the following: (1) the attacker currently holds Open WebUI administrator role (PR:H); (2) the attacker has an active, open Socket.IO connection to the affected Open WebUI instance at the moment their role is revoked; (3) the demotion is triggered via a trusted role header during sign-in (auths.py), OAuth role mapping (oauth.py), or SCIM PATCH/PUT provisioning - these are the code paths that, prior to the fix, updated the database role without emitting USER_ROLE_UPDATED events to invalidate socket sessions; and (4) the attacker does not voluntarily close the browser or client. The exploitable window is bounded entirely by session lifetime: the stale privilege disappears once the WebSocket connection terminates. Deployments where admin role changes are performed exclusively through the Open WebUI admin UI (users.py) had a partial but inconsistent fix in place before 0.11.1 and are lower risk. Default-configuration Open WebUI deployments without SSO/OAuth/SCIM role synchronization enabled are not exposed to the automated demotion path but are still vulnerable if an admin role is manually changed while the user is connected.

Impact

The CVSS 3.1 score of 6.5 with vector AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N appropriately reflects the high-privilege prerequisite: only a user who holds or recently held Open WebUI administrator status and has an active Socket.IO connection at demotion time can exploit this flaw. The exploitable window is inherently time-limited - the stale privilege evaporates once the underlying WebSocket connection closes naturally or the server restarts, so this is not a persistent backdoor. No CISA KEV listing is present, no EPSS score was provided, and no public exploit code was identified, all pointing toward low opportunistic exploitation probability. Real-world risk is most elevated in environments that automate role revocation through SSO pipelines, OAuth providers, or SCIM - the exact mechanism the vulnerability targets - where a disgruntled or compromised administrator could deliberately hold an open connection after receiving a demotion notification. The C:H/I:H impact is scoped to collaborative notes rather than authentication credentials or system-level access, which bounds the blast radius but remains meaningful in AI-workflow deployments where notes may contain sensitive prompts, customer data, or configuration details. EPSS data is absent; the time-bounded exploitable window and the PR:H prerequisite together suggest that even motivated attackers face meaningful operational constraints.

Exploit ScenarioDerived

An Open WebUI administrator opens a Socket.IO session and navigates to the collaborative notes workspace. An identity-provider administrator then revokes the attacker's admin role via SCIM or OAuth, updating the database record - but because no USER_ROLE_UPDATED event is published to flush the session cache, the attacker's open connection retains its stale admin context. The attacker reads all users' private notes and overwrites them, with the window of exploitation lasting until the connection naturally closes or the server is restarted.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 09, 2026

Insufficient session expiration in Open WebUI 0.9.0-0.11.0 allows a demoted administrator to retain full read and write access to all users' collaborative notes by keeping an existing Socket.IO connection open after their role is revoked. The flaw exists because role updates applied through trusted role headers, OAuth role mapping, or SCIM provisioning write the new role to the database but do not invalidate the stale user record cached in the Socket.IO SESSION_POOL. The vulnerability is fixed in version 0.11.1; no public exploit code has been identified at time of analysis.

RemediationAI

Upgrade to Open WebUI version 0.11.1 or later, which resolves the issue by introducing a SocketSessionEventSink that automatically disconnects all Socket.IO sessions for a user whenever a USER_ROLE_UPDATED or USER_DELETED event fires, ensuring SESSION_POOL entries are flushed on every privilege change. The patched release is at https://github.com/open-webui/open-webui/releases/tag/v0.11.1 and the fixing commit is ce3c175e260709f359d7e6cbb3132f0572098b95. For operators who cannot immediately upgrade, the most effective compensating control is restarting the Open WebUI server immediately after any admin demotion, which clears all SESSION_POOL entries; the trade-off is disrupting all active user sessions. A less disruptive alternative is enforcing short Socket.IO idle timeouts at the reverse-proxy layer (e.g., nginx proxy_read_timeout), reducing the exploitable window at the cost of potentially disconnecting legitimate long-running sessions. In deployments using SCIM or SSO-driven role synchronization, schedule role demotions during maintenance windows when the target user is unlikely to have an active connection.

Affected VersionsENISA

open-webui 0.9.0, < 0.11.1

Affected Packages

pypi open-webui fix: 0.11.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

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

Technical ContextAI · show details

Open WebUI is a self-hosted AI platform that exposes real-time collaborative features over persistent Socket.IO (WebSocket) connections. The affected session cache lives in backend/open_webui/socket/main.py, which maintains a SESSION_POOL mapping socket IDs to user records including their role. Role updates originating from three paths - the trusted-header sign-in flow in backend/open_webui/routers/auths.py, OAuth role mapping in backend/open_webui/utils/oauth.py, and SCIM provisioning in backend/open_webui/routers/scim.py - wrote the revised role to the database but failed to publish a USER_ROLE_UPDATED event before the fix, so the SESSION_POOL entry was never invalidated. CWE-613 (Insufficient Session Expiration) describes this root cause precisely: the session's authorization state diverges from the authoritative data store after a privilege change. The fix introduces a SocketSessionEventSink in events.py that subscribes to USER_ROLE_UPDATED and USER_DELETED events and calls disconnect_user_sessions(), forcibly terminating all socket connections for the affected user ID. The affected CPE is cpe:2.3:a:open-webui:open-webui:*:*:*:*:*:*:*:* covering versions 0.9.0 through 0.11.0.

Know when Open Webui 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 (GitHub_M) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 6.5 MEDIUM

PR:H because only an existing administrator can exploit the stale session; C:H and I:H reflect full read/write access to all users' collaborative notes; A:N as availability is unaffected.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

1
Patch available
Sep 09, 2026 - 22:04 EUVD

DescriptionCVE.org

Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. From 0.9.0 until 0.11.1, role synchronization in backend/open_webui/routers/auths.py and backend/open_webui/utils/oauth.py updated an administrator's database role without invalidating the user record cached by backend/open_webui/socket/main.py. An administrator demoted through a trusted role header or OAuth role mapping could keep an already-open Socket.IO connection and continue reading or editing every user's collaborative notes until that connection closed. This issue is fixed in version 0.11.1.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Medium
popular self-hosted AI platform, growing LLM deployment footprint
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
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 MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

52
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2024-8017 CRITICAL POC
9.0 Mar 20

An XSS vulnerability exists in open-webui/open-webui versions <= 0.3.8, specifically in the function that constructs the

CVE-2024-7044 HIGH POC
8.9 Mar 20

A Stored Cross-Site Scripting (XSS) vulnerability exists in the chat file upload functionality of open-webui/open-webui

CVE-2024-6707 HIGH POC
8.8 Aug 07

Attacker controlled files can be uploaded to arbitrary locations on the web server's filesystem by abusing a path traver

CVE-2026-87995 HIGH POC
8.7 Sep 09

Stored cross-site scripting in Open WebUI's terminal port preview feature allows an authenticated attacker sharing a ter

CVE-2024-8053 HIGH POC
8.2 Mar 20

In version v0.3.10 of open-webui/open-webui, the `api/v1/utils/pdf` endpoint lacks authentication mechanisms, allowing u

CVE-2026-87016 HIGH POC
8.1 Sep 09

OAuth and SCIM identity confusion in Open WebUI 0.6.41-0.10.x (SQLite-backed deployments only) allows unauthenticated re

CVE-2026-87996 HIGH POC
7.7 Sep 09

DNS rebinding SSRF in Open WebUI versions 0.9.6 through 0.11.0 allows authenticated users who control authoritative DNS

CVE-2026-87011 HIGH POC
7.5 Sep 09

Denial of service in Open WebUI versions 0.9.0-0.11.0 allows unauthenticated remote attackers to stall the application s

CVE-2024-7983 HIGH POC
7.5 Mar 20

In version 0.3.8 of open-webui, an endpoint for converting markdown to HTML is exposed without authentication. Rated hig

CVE-2026-26193 HIGH POC
7.3 Feb 19

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. [CVSS 7.3 HIGH]

CVE-2026-26192 HIGH POC
7.3 Feb 19

Stored XSS in Open WebUI prior to version 0.7.0 allows authenticated users to inject malicious HTML payloads into chat d

CVE-2026-87998 HIGH POC
7.1 Sep 09

Improper privilege management in Open WebUI 0.10.0 through 0.11.0 allows any authenticated low-privilege user with write

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