All vulnerabilities

Servers and applications

CVE-2026-87014

Admin demoted through SSO role sync keeps read and write access to all users' notes

Severity
Medium 6.5
Published
4 Sept 2026
Last changed
15 Sept 2026
Added to UpHeron
1 Nov 2026
Fixed in
0.11.1
Exploit chance
0.5% in the next 30 daysHigher than 44% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Insufficient session expiration (CWE-613)Incorrect authorization (CWE-863)
Attack
Over the network · Needs an administrator account · No user action needed
Attacker can
Read data · Change data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
Also known as
GHSA-wjwr-xfp9-r66p
Sources
NVD, Project advisories (GitHub)

Description

A user who is demoted from admin by an identity provider keeps admin-level read and write access to every user's notes, over any Socket.IO connection that was already open when the demotion happened. Open WebUI caches the user's role on the socket at connection time, and the two SSO role-sync paths, the reverse-proxy trusted role header and OAuth role mapping, changed the role in the database without tearing that cached session down. Only the admin user-management endpoints invalidated sessions, so a demotion driven by the identity provider left the old privileges live on the socket.

A role-sync SSO mode has to be enabled. Either trusted-header authentication with WEBUI_AUTH_TRUSTED_ROLE_HEADER set, which is unset by default, or OAuth with role mapping enabled, which is off by default. Deployments that change roles only through the admin panel are not affected, because that path already invalidated the user's sockets.

From open-webui/open-webui's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Open WebUIServers and applications · cpe:a:openwebui:open_webui
  • From 0.9.0 before 0.11.1
Open WebUIServers and applications · github:open-webui/open-webui
  • From 0.9.0 before 0.11.1

About Open WebUI

self-hosted user interface for artificial intelligence models

From Wikidata, CC0 1.0.
Weekly downloads (PyPI)
355,496PyPI Stats, 15 Nov 2026
Docker Hub pulls
990,663Docker Hub, 15 Nov 2026
GitHub stars
158,684GitHub, 15 Nov 2026
Forks
23,075GitHub, 15 Nov 2026
Latest release
v0.13.3GitHub, 15 Nov 2026
Released
8 Nov 2026GitHub
License
multi-licensingWikidata
First published on GitHub
6 Oct 2023GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-87014
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-87014
  • GitHub Advisory Database https://github.com/advisories/GHSA-wjwr-xfp9-r66p
  • github.com https://github.com/open-webui/open-webui/security/advisories/GHSA-wjwr-xfp9-r66p