ZeroHour

CVE-2026-87014

PoC large1

Stale Socket.IO session lets demoted Open WebUI admins keep note access

CVSS 3.1
6.5 medium
EPSS
<1%p20
Published
()
Modified
AI analysis

Open WebUI, a widely used self-hosted AI interface, fails to invalidate a cached user record when an administrator's role is changed, so authorization decisions for already-established Socket.IO connections keep using the old 'admin' role (CWE-613/CWE-863). The flaw is triggered when an admin is demoted via a trusted role header or an OAuth role mapping in the affected versions: their open Socket.IO connection stays authorized until it closes. A demoted administrator can therefore continue to read and edit every user's collaborative notes after losing their privileges, but the issue requires high privileges up front and grants no new access beyond the notes channel. Versions 0.9.0 through before 0.11.1 are affected, and the fix shipped in 0.11.1. Exploitation probability is currently very low (EPSS 0.3%, not in CISA KEV), with only the upstream GitHub security advisory made public and no known attacks in the wild.

What to do: Upgrade Open WebUI to 0.11.1 or later, where role synchronization invalidates the cached user record. If you cannot patch immediately, terminate active Socket.IO connections (or force logout/re-login) for any user whose role has just been changed, and restrict trusted role headers and OAuth role-mapping claims to genuinely trusted identity providers. After patching, audit collaborative-notes edit history for changes attributable to recently demoted administrators.

Affected
openwebui open webui>= 0.9.0, < 0.11.1 (fixed in 0.11.1)
Estimated exposure
large≈tens of thousands to ~100,000 self-hosted instances (pip/Docker deployments) — Open WebUI is among the most popular self-hosted LLM frontends (roughly 100k GitHub stars and millions of cumulative Docker Hub pulls / pip installs), but most deployments are single-admin home-lab or small-team servers rather than…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

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.

Vendors
openwebui
Products
open webui
Ecosystems
pip
Weakness
CWE-613, CWE-863
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
GHSA
GHSA-wjwr-xfp9-r66p (medium)

In the news

No ingested article mentions this CVE yet.