CVE-2026-87014 is a Socket.IO authorization bypass where a user's role can be demoted via OAuth role mapping or the trusted role header, yet their existing real-time connection continues operating at the previous privilege level. The system maintains a cached user record at connection establishment that is never invalidated when role changes occur in the database — the HTTP request layer properly synchronizes roles, but the Socket.IO layer continues trusting the stale cached record.
This is not merely a missed cache-invalidation call. The vulnerability stems from a fundamental architectural mismatch: Open WebUI has two separate authorization enforcement points operating under different consistency models. The HTTP layer treats role changes as synchronous events that update the database immediately. The Socket.IO layer treats the cached user record as authoritative for the duration of a persistent connection — a design decision that made sense when role changes were rare and manual, but breaks under OAuth synchronization where an external IdP can change roles programmatically.
What matters for defenders: First, check whether any OAuth-integrated deployments have users who were demoted in the IdP while maintaining active sessions — those sessions remain elevated until closed. Second, the trusted role header mechanism should be treated as a privileged admin interface, not a configuration toggle; audit its usage logs to detect post-demotion privilege retention. Third, the CVSS 6.5 underweights this if collaborative notes contain operational context — in AI assistant deployments, a demoted admin with a persistent connection isn't just reading historical data, they're positioned inside the contextual substrate that shapes every subsequent model interaction.
The patch in 0.11.1 addresses the immediate invalidation gap, but the architectural pattern — multiple write paths into role state with no coherency protocol across enforcement points — likely exists elsewhere. Audit chat history access and model permission boundaries for similar stale-authorization conditions.