Skip to main content

Open WebUI EUVDEUVD-2026-52899

| CVE-2026-70488 MEDIUM
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-08-04 GitHub_M GHSA-jxc9-xmc4-gr23
4.3
CVSS 3.1 · Vendor: GitHub_M
Share

Severity by source

Vendor (GitHub_M) PRIMARY
4.3 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
vuln.today AI
5.4 MEDIUM

Network-accessible, low-privilege required; A:L added over vendor's A:N because RAG retrieval availability for affected documents is concretely disrupted, even though underlying files survive.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

Lifecycle Timeline

3
Source Code Evidence Fetched
Aug 04, 2026 - 21:04 vuln.today
Analysis Generated
Aug 04, 2026 - 21:04 vuln.today
Patch available
Aug 04, 2026 - 21:01 EUVD

DescriptionCVE.org

Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. From 0.9.6 until 0.11.0, the sync cleanup endpoint authorized write access to the knowledge base in the URL but then acted on directory and file ids supplied in the request body without checking that those objects belonged to that knowledge base. A user with write access to one knowledge base could delete directories and remove file embeddings from another knowledge base, causing documents to drop out of retrieval results and breaking chat-with-file for targeted documents without disclosing contents. This issue is fixed in 0.11.0.

AnalysisAI

Cross-knowledge-base IDOR in Open WebUI 0.9.6-0.10.2 allows any user with write access to one knowledge base to silently delete directories and file embeddings from unrelated knowledge bases they do not control, causing documents to vanish from RAG retrieval results and breaking chat-with-file for targeted files without disclosing their contents. The flaw (CWE-639) sits in the sync cleanup endpoint, which authorized requests based on the URL knowledge base ID but executed destructive operations against object IDs supplied in the request body without verifying those objects belonged to the authorized knowledge base. No public exploit is identified and no CISA KEV listing exists; the vendor released a complete fix in v0.11.0.

Technical ContextAI

The vulnerability resides in backend/open_webui/routers/knowledge.py, handler sync_knowledge_cleanup, serving POST /api/v1/knowledge/{id}/sync/cleanup. Open WebUI is a self-hosted AI frontend for local LLM deployments that implements knowledge bases as RAG (retrieval-augmented generation) data stores (CPE: cpe:2.3:a:open-webui:open-webui:*:*:*:*:*:*:*:*). The handler correctly verified write permissions on the knowledge base identified by the URL path parameter {id}, but then iterated over directory and file IDs supplied in the JSON request body, performing deletions without validating that those IDs belonged to the URL-scoped knowledge base. This is a textbook CWE-639 (Authorization Bypass Through User-Controlled Key): the authorization gate used one key (URL path id) while the privileged operation consumed a different, attacker-controlled key (request body object IDs). The PR diff confirms two loops were affected - directory deletion and per-file vector cleanup - both now patched with explicit knowledge_id membership checks.

RemediationAI

Upgrade Open WebUI to version 0.11.0 or later; this is the complete fix as confirmed by GitHub Security Advisory GHSA-jxc9-xmc4-gr23 (https://github.com/open-webui/open-webui/security/advisories/GHSA-jxc9-xmc4-gr23) and pull request #26722 (commit 707efeaed7992dd9896d5928559458f228b9a539). The patch adds explicit knowledge-base membership validation to both the directory deletion loop and the per-file vector cleanup loop in sync_knowledge_cleanup, ensuring objects are only acted upon if their knowledge_id matches the URL path parameter. As a compensating control prior to patching, administrators can eliminate the exploitation precondition by auditing and revoking cross-user write grants on all shared knowledge bases, or by ensuring no knowledge base is shared beyond its owner - deployments in this state are not reachable by the attack. Note that removing collaborative access grants will disrupt legitimate multi-user knowledge base workflows. The workspace.knowledge setting is already off by default, which limits ordinary user exposure but does not block exploitation by users who already hold write access.

CVE-2024-7053 CRITICAL POC
9.0 Mar 20

A vulnerability in open-webui/open-webui version 0.3.8 allows an attacker with a user-level account to perform a session

CVE-2024-8017 CRITICAL POC
9.0 Mar 20

An XSS vulnerability exists in open-webui/open-webui versions <= 0.3.8, specifically in the function that constructs the

CVE-2024-7044 HIGH POC
8.9 Mar 20

A Stored Cross-Site Scripting (XSS) vulnerability exists in the chat file upload functionality of open-webui/open-webui

CVE-2024-7806 HIGH POC
8.8 Mar 20

A vulnerability in open-webui/open-webui versions <= 0.3.8 allows remote code execution by non-admin users via Cross-Sit

CVE-2024-6707 HIGH POC
8.8 Aug 07

Attacker controlled files can be uploaded to arbitrary locations on the web server's filesystem by abusing a path traver

CVE-2025-65959 HIGH POC
8.7 Dec 04

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.6.37, a St

CVE-2025-65958 HIGH POC
8.5 Dec 04

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.6.37, a Se

CVE-2024-7990 HIGH POC
8.4 Mar 20

A stored cross-site scripting (XSS) vulnerability exists in open-webui/open-webui version 0.3.8. Rated high severity (CV

CVE-2024-8053 HIGH POC
8.2 Mar 20

In version v0.3.10 of open-webui/open-webui, the `api/v1/utils/pdf` endpoint lacks authentication mechanisms, allowing u

CVE-2024-7034 HIGH POC
7.2 Mar 20

In open-webui version 0.3.8, the endpoint `/models/upload` is vulnerable to arbitrary file write due to improper handlin

CVE-2024-7959 HIGH POC
7.7 Mar 20

The `/openai/models` endpoint in open-webui/open-webui version 0.3.8 is vulnerable to Server-Side Request Forgery (SSRF)

CVE-2024-12537 HIGH POC
7.5 Mar 20

In version 0.3.32 of open-webui/open-webui, the absence of authentication mechanisms allows any unauthenticated attacker

Share

EUVD-2026-52899 vulnerability details – vuln.today

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