Skip to content
LowVulnerability

GHSA-gmfw-g93r-vg53: Open WebUI: Unauthenticated WebSocket Access to Collaborative Document Handlers (ydoc:awareness:update, ydoc:document:leave)

Published
Record updated
View JSON
Affected
  • open-webui >= 0.6.16, < 0.10.0
Fixed in
0.10.0
  • released June 29, 2026, 25 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%

Summary

Open WebUI's Socket.IO server is configured with `always_connect=True` in `backend/open_webui/socket/main.py`, and its `connect` handler never rejects unauthenticated connections. The Ydoc handlers `ydoc:awareness:update` and `ydoc:document:leave` perform no authentication or room membership checks. An unauthenticated attacker can therefore spoof any `user_id` and inject fake awareness data into a document room, or broadcast fake `ydoc:user:left` events. The report also notes unlimited unauthenticated WebSocket connections as a resource exhaustion impact.

Mitigation

1. Set `always_connect=False` or reject unauthenticated connections in the `connect` handler 2. Add `SESSION_POOL` checks to `ydoc:awareness:update` and `ydoc:document:leave` 3. Add room membership verification before broadcasting to document rooms