PT-2026-89161

CVE-2026-87014

·

Published

2026-09-04

·

Updated

2026-10-01

Description by

CVSS 3.1
6.5
Medium
MetricsAV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions Open WebUI versions 0.9.0 through 0.11.0
Description An issue exists where role synchronization fails to invalidate cached user records during a privilege demotion. When an administrator is demoted via a trusted role header or OAuth role mapping, the system updates the database role but does not terminate existing Socket.IO connections. This allows a demoted user to maintain administrator-level read and write access to all users' collaborative notes as long as the connection remains open. This occurs because the socket handlers authorize access based on a cached copy of the user record created at connection time.
The issue affects the following components:
  • backend/open webui/routers/auths.py (trusted-header role sync)
  • backend/open webui/utils/oauth.py (OAuth role sync)
  • backend/open webui/socket/main.py (user record caching)
This behavior is only triggered if role-sync SSO mode is enabled, specifically when using WEBUI AUTH TRUSTED ROLE HEADER or OAuth role mapping.
Recommendations Update Open WebUI to version 0.11.1.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-WJWR-XFP9-R66P
PYSEC-2026-4127
Found an issue in the description? Have something to add? Feel free to write us 👾