Skip to main content

Open WebUI EUVDEUVD-2026-30616

| CVE-2026-44564 MEDIUM
Incorrect Authorization (CWE-863)
2026-05-08 https://github.com/open-webui/open-webui GHSA-vrfh-rj4q-rmhr
5.4
CVSS 3.1 · GitHub Advisory
Share

Severity by source

GitHub Advisory PRIMARY
5.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low

Lifecycle Timeline

3
Source Code Evidence Fetched
May 08, 2026 - 21:01 vuln.today
Analysis Generated
May 08, 2026 - 21:01 vuln.today
CVE Published
May 08, 2026 - 20:00 nvd
MEDIUM 5.4

DescriptionGitHub Advisory

Read-Only Users Can Modify Collaborative Documents via Socket.IO

Affected Component

Socket.IO collaborative document editing handler:

  • backend/open_webui/socket/main.py (lines 667-721, ydoc:document:update handler)

Affected Versions

Current main branch and likely all versions with collaborative note editing.

Description

The ydoc:document:update Socket.IO event handler checks whether the sender is a member of the document's Socket.IO room (line 678) but does not verify that the sender has write permission. Users with read-only access join the document room via ydoc:document:join, which only requires read permission (line 520). Once in the room, the user can emit ydoc:document:update events that modify the in-memory Yjs document state and are broadcast to all other collaborators in real time.

The document_save_handler (line 600) correctly checks write permission before persisting to the database, so the attacker cannot directly save changes. However, the tampered content is visible to all collaborators, and if any user with write access saves the document, the injected content is persisted.

python
# ydoc:document:update handler (line 667) - only checks room membership, not write permission
async def on_document_update(sid, data):
    document_id = normalize_document_id(data.get('document_id', ''))
# ...
    room = f'doc_{document_id}'
    if room not in sio.rooms(sid):
# Room membership check only
        return
# Applies update to Yjs state and broadcasts to all users
    YDOC_MANAGER.apply_update(document_id, update)
    await sio.emit('ydoc:document:update', {...}, room=room, skip_sid=sid)

Compare with ydoc:document:join (line 520) which checks permission:

python
# Only checks READ permission - so read-only users join the room
if not has_access(user_id, type, id, 'read', db=db):
    return

CVSS 3.1 Breakdown

MetricValueRationale
Attack VectorNetwork (N)Exploited remotely via Socket.IO events
Attack ComplexityLow (L)No special conditions; attacker emits a standard Socket.IO event
Privileges RequiredLow (L)Requires a valid user account with read access to the shared note
User InteractionNone (N)Modifications appear in real time without victim action; however, persistence requires a write-access user to save
ScopeUnchanged (U)Impact is within the collaborative document context
ConfidentialityNone (N)No data disclosure beyond what read access already provides
IntegrityLow (L)In-memory document state is modified and broadcast; persistence is indirect (requires another user to save)
AvailabilityLow (L)Collaborative editing session can be disrupted with invalid content

Attack Scenario

  1. User A creates a note and shares it with User B with read permission.
  2. User B opens the note, which triggers ydoc:document:join - the server checks read permission and adds User B to the document room.
  3. User B emits ydoc:document:update with a crafted Yjs update payload via the Socket.IO connection (bypassing any frontend read-only enforcement).
  4. The server applies the update to the Yjs document state and broadcasts it to all collaborators.
  5. User A sees the injected content appear in their editor in real time.
  6. If User A saves the document (intentionally or via autosave), the tampered content is persisted to the database - User A's save passes the write permission check since User A is the owner.

Impact

  • Read-only users can inject, modify, or delete content in collaborative documents
  • Modifications are broadcast in real time to all collaborators, causing confusion or disruption
  • If a write-access user saves (including autosave), the tampered content is permanently persisted
  • Undermines the read/write permission model for collaborative editing

Preconditions

  • Attacker must have a valid user account with read access to a shared note
  • The note must be open for collaborative editing (at least one other user viewing it, or the attacker can wait for a write-access user to open and save)

AnalysisAI

Read-only users in Open WebUI can modify collaborative documents via Socket.IO by emitting crafted ydoc:document:update events that bypass write permission checks, allowing them to inject, modify, or delete content visible to all collaborators in real time. While direct database persistence requires write access, tampered content becomes permanent if any write-enabled user saves the document, undermining the read/write permission model for collaborative editing.

Technical ContextAI

Open WebUI's collaborative document editing feature uses Socket.IO for real-time synchronization and Yjs (a CRDT library) for conflict-free collaborative state management. The vulnerability exists in the ydoc:document:update event handler in backend/open_webui/socket/main.py (lines 667-721), which validates only Socket.IO room membership but omits permission verification. The ydoc:document:join handler correctly checks read permission before adding users to the document room (line 520), but the on_document_update handler applies Yjs state updates without re-checking write permissions. This is an authorization bypass (CWE-863: Incorrect Authorization) where room membership is conflated with write permission. The document_save_handler (line 600) does enforce write permission for database persistence, creating an asymmetry: in-memory CRDT state can be corrupted by read-only users, but only write-enabled users can commit changes to persistent storage.

RemediationAI

Upgrade to Open WebUI version 0.9.0 or later, which adds write permission verification to the ydoc:document:update event handler. If immediate upgrade is not feasible, implement a compensating control by restricting read-only user access to collaborative editing sessions: disable Socket.IO room membership for users without write permission (modify the ydoc:document:join handler to require write permission instead of read), though this effectively removes read-only collaboration until the patch is applied. Alternatively, enforce autosave to be triggered only by write-enabled users, preventing read-only user modifications from being persisted indirectly. See GitHub Advisory GHSA-vrfh-rj4q-rmhr for patch details and confirmation.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2026-55255 HIGH POC
8.4 Jun 19

Cross-user flow execution in Langflow (< 1.9.1) lets any authenticated API-key holder run another user's flow by passing

Share

EUVD-2026-30616 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy