3.1low
Open WebUI: Unauthenticated WebSocket Access to Collaborative Document Handlers (ydoc:awareness:update, ydoc:document:leave)
- Severity
- 3.1low CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.22% (higher than 13% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-gmfw-g93r-vg53PYSEC-2026-3599
Description
Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. From 0.6.16 before 0.10.0, the Socket.IO server is configured with always_connect=True. The ydoc:awareness:update and ydoc:document:leave Socket.IO handlers accepted collaborative-document events without requiring an authenticated user, allowing unauthorized manipulation of document collaboration state. This issue is fixed in version 0.10.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| open-webui open-webui | >= 0.6.16, < 0.10.0 | CVE List |
| open-webui (PyPI) | from 0.6.16 before 0.10.0 | GitHub Advisory Database, PyPA Advisory Database |
| openwebui open_webui | from 0.6.16 before 0.10.0 | NVD |
All scores
| GitHub_M | 3.1low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N |
| GitHub | 3.1low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
| PyPA Advisory Database | 3.1low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. From 0.6.16 before 0.10.0, the Socket.IO server is configured with always_connect=True. The ydoc:awareness:update and ydoc:document:leave Socket.IO handlers accepted collaborative-document events without requiring an authenticated user, allowing unauthorized manipulation of document collaboration state. This issue is fixed in version 0.10.0.
GitHub Advisory Database
Summary
The Socket.IO server is configured with always_connect=True (lines 78, 91 in backend/open_webui/socket/main.py) and the connect handler (line 329) never rejects unauthenticated connections. Two Ydoc event handlers have zero authentication checks, allowing unauthenticated clients to interact with collaborative document sessions.
Vulnerable Code
ydoc:awareness:update (line 741) — No auth check at all
@sio.on('ydoc:awareness:update')
async def yjs_awareness_update(sid, data):
document_id = data['document_id']
user_id = data.get('user_id', sid)
update = data['update']
# No SESSION_POOL check, no room membership check
await sio.emit(
'ydoc:awareness:update',
{'document_id': document_id, 'user_id': user_id, 'update': update},
room=f'doc_{document_id}',
skip_sid=sid,
)
ydoc:document:leave (line 711) — No auth check at all
@sio.on('ydoc:document:leave')
async def yjs_document_leave(sid, data):
document_id = data['document_id']
user_id = data.get('user_id', sid)
# No auth check
await YDOC_MANAGER.remove_user(document_id=document_id, user_id=sid)
await sio.emit('ydoc:user:left',
{'document_id': document_id, 'user_id': user_id},
room=f'doc_{document_id}')
Root Cause: always_connect=True (line 78)
sio = socketio.AsyncServer(
always_connect=True, # Never rejects connections
...
)
The connect handler (line 329) adds authenticated users to SESSION_POOL but never returns False or raises an exception for unauthenticated connections.
Exploitation
- An unauthenticated attacker connects via Socket.IO (no token needed)
- The attacker emits
ydoc:awareness:updatewith:document_id: a known/guessed note UUID (format:note:{uuid})user_id: spoofed to impersonate any userupdate: arbitrary awareness data (fake cursor positions, selections)
- The fake awareness data is broadcast to all legitimate users in the document room
- The attacker can also emit
ydoc:document:leavewith spoofeduser_idto broadcast fakeydoc:user:leftevents
Impact
- UI disruption: Fake cursor positions and user presence in collaborative editing sessions
- User impersonation: Attacker can spoof any
user_idin awareness updates - Resource exhaustion: Unlimited unauthenticated WebSocket connections maintained by the server
Note: Other Ydoc handlers (ydoc:document:join, ydoc:document:update, ydoc:document:state) correctly check SESSION_POOL membership.
Suggested Fix
- Set
always_connect=Falseor reject unauthenticated connections in theconnecthandler - Add
SESSION_POOLchecks toydoc:awareness:updateandydoc:document:leave - Add room membership verification before broadcasting to document rooms
AI Disclosure (per Rule 11): AI (Claude) was used to assist with source code review, identifying potential vulnerability patterns, and drafting this report. The researcher directed the analysis, selected focus areas, and independently verified all findings against a running v0.8.12 Docker instance using real HTTP requests with two test accounts. The PoCs included are reproducible and were confirmed live before submission.
References
| https://github.com/open-webui/open-webui/security/advisories/GHSA-gmfw-g93r-vg53 | exploit, mitigation, vendor-advisory, web | |
| https://github.com/open-webui/open-webui/pull/25946 | issue-tracking, patch, web | |
| https://github.com/open-webui/open-webui/commit/22f2fe1ffb66c993dad1e0b2b35514acaed2370e | patch, web | |
| https://github.com/open-webui/open-webui/releases/tag/v0.10.0 | product, release-notes, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-59715 | advisory | |
| https://github.com/open-webui/open-webui | package | |
| https://pypi.org/project/open-webui | package | |
| https://github.com/advisories/GHSA-gmfw-g93r-vg53 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-59715 changed 2026-07-09 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-gmfw-g93r-vg53 changed 2026-08-04 | CC-BY-4.0 |
| NVD | CVE-2026-59715 changed 2026-07-10 | Public domain |
| PyPA Advisory Database | PYSEC-2026-3599 changed 2026-08-04 | CC-BY-4.0 |