Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessEstablish Socket.IO session with administrator credentials
-
DeliveryReceive role demotion via SSO, SCIM, or OAuth pipeline
-
ExploitDatabase role updated without SESSION_POOL invalidation
-
ExecutionStale admin context retained on existing connection
-
ImpactRead 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Open Webui
View allAn XSS vulnerability exists in open-webui/open-webui versions <= 0.3.8, specifically in the function that constructs the
A Stored Cross-Site Scripting (XSS) vulnerability exists in the chat file upload functionality of open-webui/open-webui
Attacker controlled files can be uploaded to arbitrary locations on the web server's filesystem by abusing a path traver
Stored cross-site scripting in Open WebUI's terminal port preview feature allows an authenticated attacker sharing a ter
In version v0.3.10 of open-webui/open-webui, the `api/v1/utils/pdf` endpoint lacks authentication mechanisms, allowing u
OAuth and SCIM identity confusion in Open WebUI 0.6.41-0.10.x (SQLite-backed deployments only) allows unauthenticated re
DNS rebinding SSRF in Open WebUI versions 0.9.6 through 0.11.0 allows authenticated users who control authoritative DNS
Denial of service in Open WebUI versions 0.9.0-0.11.0 allows unauthenticated remote attackers to stall the application s
In version 0.3.8 of open-webui, an endpoint for converting markdown to HTML is exposed without authentication. Rated hig
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. [CVSS 7.3 HIGH]
Stored XSS in Open WebUI prior to version 0.7.0 allows authenticated users to inject malicious HTML payloads into chat d
Improper privilege management in Open WebUI 0.10.0 through 0.11.0 allows any authenticated low-privilege user with write
EUVD-2026-75173
GHSA-wjwr-xfp9-r66p
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB