Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain user account and read access to shared note
-
DeliveryOpen note to join Socket.IO room
-
ExploitEmit crafted ydoc:document:update event
-
InstallServer applies update to Yjs state without permission check
-
C2Malicious content broadcast to collaborators
-
ExecuteWrite-enabled user saves document
-
ImpactInjected content persisted to database
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Attacker must have a valid user account on the Open WebUI instance and read access to a shared collaborative document. The document must be open for editing (the attacker's Socket.IO session must be established). No special configuration is required; collaborative document editing is the default feature. Exploitation is limited by: (1) requirement for a valid user account (rules out anonymous attacks), (2) read-only access scope (attacker cannot directly persist changes but can corrupt in-memory state), and (3) secondary dependency on a write-enabled user saving the document for persistence. Direct exploitation does not require another user to be actively viewing the document, though visibility of tampering requires at least one other collaborator to be online. |
| Impact | CVSS 3.1 (5.4, AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L) indicates low-to-moderate risk due to low attack complexity, low privilege requirement (valid user account), and network attack vector, but integrity and availability impacts are rated low because direct persistence requires an external action (another user saving). However, real-world risk is elevated by several factors: (1) No EPSS or KEV data provided, so exploitation prevalence is unconfirmed, but the attack is trivial to execute (standard Socket.IO event emission), requiring no complex tooling or knowledge of Yjs internals. (2) Collaborative editing is a core feature of Open WebUI; any deployment using shared notes with mixed read/write access is vulnerable. (3) The preconditions are realistic: read-only sharing is a normal use case, and write-enabled users saving documents is expected behavior. (4) The impact is not purely informational-visible tampering in a shared editing session can cause disruption, confusion, or if adversarial, inject malicious content (e.g., SQL injection payloads or XSS in markdown) that becomes persistent. The UI:N (no user interaction required) metric is somewhat misleading: tampering is visible in real time, but persistence requires a write-enabled user to save, introducing a secondary dependency. For risk prioritization: this is a privilege escalation from read to write-equivalent capability within a document scope, not a system-wide compromise. Deployments heavily reliant on read-only access for untrusted collaborators (e.g., document review workflows) face higher risk; deployments where all collaborators are semi-trusted face lower risk. |
| Exploit ScenarioDerived | An attacker with a read-only shared note opens the document in Open WebUI, triggering |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 08, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Python gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
Primary rating from Vendor (https://github.com/open-webui/open-webui) · only source for this CVE.
CVSS VectorVendor: https://github.com/open-webui/open-webui
DescriptionCVE.org
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:updatehandler)
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.
# 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:
# Only checks READ permission - so read-only users join the room
if not has_access(user_id, type, id, 'read', db=db):
returnCVSS 3.1 Breakdown
| Metric | Value | Rationale |
|---|---|---|
| Attack Vector | Network (N) | Exploited remotely via Socket.IO events |
| Attack Complexity | Low (L) | No special conditions; attacker emits a standard Socket.IO event |
| Privileges Required | Low (L) | Requires a valid user account with read access to the shared note |
| User Interaction | None (N) | Modifications appear in real time without victim action; however, persistence requires a write-access user to save |
| Scope | Unchanged (U) | Impact is within the collaborative document context |
| Confidentiality | None (N) | No data disclosure beyond what read access already provides |
| Integrity | Low (L) | In-memory document state is modified and broadcast; persistence is indirect (requires another user to save) |
| Availability | Low (L) | Collaborative editing session can be disrupted with invalid content |
Attack Scenario
- User A creates a note and shares it with User B with read permission.
- User B opens the note, which triggers
ydoc:document:join- the server checks read permission and adds User B to the document room. - User B emits
ydoc:document:updatewith a crafted Yjs update payload via the Socket.IO connection (bypassing any frontend read-only enforcement). - The server applies the update to the Yjs document state and broadcasts it to all collaborators.
- User A sees the injected content appear in their editor in real time.
- 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)
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
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
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
EUVD-2026-30616
GHSA-vrfh-rj4q-rmhr
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB