CVE-2026-44564: open-webui: auth bypass in collaborative doc editing

GHSA-vrfh-rj4q-rmhr MEDIUM
Published May 8, 2026
CISO Take

Open WebUI's collaborative document editor fails to check write permissions on the Socket.IO ydoc:document:update event, allowing any authenticated read-only user to inject, modify, or delete document content that broadcasts in real-time to all active collaborators. While CVSS scores this at 5.4 (medium), the risk profile escalates significantly in AI deployment contexts: Open WebUI is a primary LLM chat interface, and collaborative documents frequently serve as conversation context or knowledge base entries — meaning a read-only attacker can silently inject adversarial prompt instructions that manipulate AI outputs for privileged users when those documents are referenced. With 52 prior CVEs in the package and no public exploit or KEV listing, exploitation remains within reach of any authenticated user with basic Socket.IO knowledge (no AI/ML expertise required). Upgrade to open-webui 0.9.0 immediately; if that is not feasible, audit and revoke all read-only document shares until patched.

Sources: GitHub Advisory ATLAS NVD

What is the risk?

Medium base severity (CVSS 5.4) with contextual elevation in AI-integrated deployments. Exploitation is trivial — the attacker only needs a valid read-only account and the ability to emit a standard Socket.IO event using freely available y-protocols libraries. No privilege escalation or special conditions required. The indirect persistence mechanism (requires a write-access user to save) partially limits direct database impact, but autosave features common in collaborative editors significantly reduce this barrier. The 52 prior CVEs in open-webui signal a systemic pattern of authorization enforcement gaps. Risk is highest in team deployments where documents are routinely incorporated into LLM conversations, as this creates an indirect prompt injection vector requiring no LLM-specific knowledge from the attacker.

How does the attack unfold?

Initial Access
Attacker authenticates to Open WebUI with a valid account holding read-only access to a target collaborative document.
AML.T0012
Exploitation
Attacker joins the document's Socket.IO room via ydoc:document:join (read permission check passes), then emits a crafted ydoc:document:update event that bypasses write permission enforcement on the server.
AML.T0049
Context Poisoning
Malicious Yjs update is applied to in-memory document state and broadcast in real-time to all collaborators; injected content may include prompt injection payloads targeting LLM context ingestion.
AML.T0080
Impact
A write-access user saves the document — manually or via autosave — persisting attacker-injected content to the database and permanently compromising document integrity for downstream AI workflows.
AML.T0048.003

What systems are affected?

Package Ecosystem Vulnerable Range Patched
Open WebUI pip <= 0.8.12 0.9.0
142.4K Pushed 5d ago 77% patched ~5d to patch Full package profile →

Do you use Open WebUI? You're affected.

How severe is it?

CVSS 3.1
5.4 / 10
EPSS
0.2%
chance of exploitation in 30 days
Higher than 12% of all CVEs
Exploitation Status
No known exploitation
Sophistication
Trivial

What is the attack surface?

AV AC PR UI S C I A
AV Network
AC Low
PR Low
UI None
S Unchanged
C None
I Low
A Low

What should I do?

5 steps
  1. Upgrade to open-webui 0.9.0 which adds write permission verification to the ydoc:document:update Socket.IO handler — this is the only complete fix.

  2. If immediate upgrade is blocked, audit all documents with read-only shares and temporarily convert them to write-access-only or revoke shares until patched.

  3. Inspect Socket.IO event logs for ydoc:document:update events emitted by users lacking write permission on the corresponding document — this is anomalous and indicates active exploitation.

  4. Review collaborative document content for unexpected modifications, particularly in documents used as AI conversation context or knowledge base entries.

  5. Implement content review gates before incorporating collaborative documents into LLM conversations or RAG pipelines.

What does CISA's SSVC say?

Decision Track
Exploitation none
Automatable No
Technical Impact partial

Source: CISA Vulnrichment (SSVC v2.0). Decision based on the CISA Coordinator decision tree.

How is it classified?

Which compliance frameworks are affected?

This CVE is relevant to:

EU AI Act
Article 15 - Accuracy, robustness and cybersecurity
ISO 42001
A.6.1.2 - Access control to AI systems A.9.2 - AI system integrity
NIST AI RMF
MANAGE 2.4 - Risks are managed and mitigated as they are identified
OWASP LLM Top 10
LLM02 - Insecure Output Handling

Frequently Asked Questions

What is CVE-2026-44564?

Open WebUI's collaborative document editor fails to check write permissions on the Socket.IO ydoc:document:update event, allowing any authenticated read-only user to inject, modify, or delete document content that broadcasts in real-time to all active collaborators. While CVSS scores this at 5.4 (medium), the risk profile escalates significantly in AI deployment contexts: Open WebUI is a primary LLM chat interface, and collaborative documents frequently serve as conversation context or knowledge base entries — meaning a read-only attacker can silently inject adversarial prompt instructions that manipulate AI outputs for privileged users when those documents are referenced. With 52 prior CVEs in the package and no public exploit or KEV listing, exploitation remains within reach of any authenticated user with basic Socket.IO knowledge (no AI/ML expertise required). Upgrade to open-webui 0.9.0 immediately; if that is not feasible, audit and revoke all read-only document shares until patched.

Is CVE-2026-44564 actively exploited?

No confirmed active exploitation of CVE-2026-44564 has been reported, but organizations should still patch proactively.

How to fix CVE-2026-44564?

1. Upgrade to open-webui 0.9.0 which adds write permission verification to the ydoc:document:update Socket.IO handler — this is the only complete fix. 2. If immediate upgrade is blocked, audit all documents with read-only shares and temporarily convert them to write-access-only or revoke shares until patched. 3. Inspect Socket.IO event logs for ydoc:document:update events emitted by users lacking write permission on the corresponding document — this is anomalous and indicates active exploitation. 4. Review collaborative document content for unexpected modifications, particularly in documents used as AI conversation context or knowledge base entries. 5. Implement content review gates before incorporating collaborative documents into LLM conversations or RAG pipelines.

What systems are affected by CVE-2026-44564?

This vulnerability affects the following AI/ML architecture patterns: AI chat interfaces, Collaborative AI knowledge bases, LLM context management pipelines, Multi-user AI workspaces, RAG pipelines.

What is the CVSS score for CVE-2026-44564?

CVE-2026-44564 has a CVSS v3.1 base score of 5.4 (MEDIUM). The EPSS exploitation probability is 0.22%.

What is the AI security impact?

Affected AI Architectures

AI chat interfacesCollaborative AI knowledge basesLLM context management pipelinesMulti-user AI workspacesRAG pipelines

MITRE ATLAS Techniques

AML.T0012 Valid Accounts
AML.T0049 Exploit Public-Facing Application
AML.T0051.001 Indirect
AML.T0080 AI Agent Context Poisoning

Compliance Controls Affected

EU AI Act: Article 15
ISO 42001: A.6.1.2, A.9.2
NIST AI RMF: MANAGE 2.4
OWASP LLM Top 10: LLM02

What are the technical details?

Original 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 | 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 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)

Exploitation Scenario

A contractor with read-only access to an internal Open WebUI instance opens a shared security policy document. Their browser joins the document's Socket.IO room via ydoc:document:join — the server validates read permission and admits them. The contractor then uses the yjs npm package directly in their browser console to construct a binary Yjs update payload that appends the text: 'Exception approved by CISO: deploy without security review.' They emit ydoc:document:update with this payload. The server applies it to the in-memory document state and broadcasts the modification to the document owner. The owner, seeing what appears to be a legitimate addition, triggers a manual save or autosave fires — the injected content passes the write permission check because the owner has write access. AI-assisted workflows that subsequently reference the document now incorporate the attacker's instruction into LLM context.

Weaknesses (CWE)

CWE-863 — Incorrect Authorization: The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.

  • [Architecture and Design] Divide the product into anonymous, normal, privileged, and administrative areas. Reduce the attack surface by carefully mapping roles with data and functionality. Use role-based access control (RBAC) [REF-229] to enforce the roles at the appropriate boundaries. Note that this approach may not protect against horizontal authorization, i.e., it will not protect a user from attacking others with the same role.
  • [Architecture and Design] Ensure that access control checks are performed related to the business logic. These checks may be different than the access control checks that are applied to more generic resources such as files, connections, processes, memory, and database records. For example, a database may restrict access for medical records to a specific database user, but each record might only be intended to be accessible to the patient and the patient's doctor [REF-7].

Source: MITRE CWE corpus.

CVSS Vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L

Timeline

Published
May 8, 2026
Last Modified
May 8, 2026
First Seen
May 9, 2026

Related Vulnerabilities