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
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain write access to at least one shared knowledge base
  2. Delivery
    Obtain read access to target victim knowledge base as collaborator
  3. Exploit
    Note victim knowledge base directory or file UUIDs
  4. Execution
    Craft POST /api/v1/knowledge/{own-kb-id}/sync/cleanup with victim object IDs in request body
  5. Persist
    Endpoint authorizes on own KB, deletes supplied objects from victim KB
  6. Impact
    Victim's documents silently removed from RAG retrieval results

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
Exploitation Conditions

Two concrete preconditions must both be satisfied. First, the attacker must hold write access to at least one knowledge base - granted by owning a knowledge base, receiving an explicit write grant from another user or admin, or possessing the admin role. The workspace.knowledge setting is disabled by default in Open WebUI, meaning ordinary users cannot self-create knowledge bases; they must receive access from an administrator, making this a narrower population than PR:L alone suggests. Second, the attacker must know the UUID of a specific directory or file belonging to the victim's knowledge base; these UUIDs are not enumerable via the API, so in practice the attacker must already have visibility into the target knowledge base (typically as a read-only collaborator on a shared knowledge base). Deployments where no knowledge base is shared beyond its owner are completely unreachable. Exploitation is write/delete only - no contents of the target knowledge base are disclosed to the attacker.

Impact

The vendor-assigned CVSS 3.1 score of 4.3 (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N) is broadly reasonable but may understate availability impact: documents silently drop from retrieval results, disrupting RAG functionality for affected files even though the underlying stored files and database rows are not permanently destroyed. The PR:L metric accurately reflects the requirement for at least low-privilege access, but the GHSA advisory clarifies a meaningful additional constraint beyond what PR:L implies: workspace.knowledge is disabled by default, so ordinary users cannot self-provision knowledge bases and must receive access from an administrator, further narrowing the attacker population. A second hard prerequisite is that the attacker must possess the victim's directory or file UUIDs, which are non-enumerable through the API - in practice limiting exploitation to collaborators who already have visibility into the target knowledge base. This vulnerability is not listed in CISA KEV, no public exploit code has been identified, and EPSS data was not provided in the intelligence feed, so exploitation probability cannot be quantitatively assessed. Real-world risk is confined to multi-tenant or shared-deployment configurations; single-owner deployments with no knowledge-base sharing are completely unreachable.

Exploit ScenarioDerived

An authenticated user who holds write access to a shared knowledge base and read-only access to a second shared knowledge base notes the UUIDs of directories or files visible within the second knowledge base. They craft a POST request to POST /api/v1/knowledge/{their-own-kb-id}/sync/cleanup, placing the victim knowledge base's directory or file UUIDs in the request body; the endpoint authorizes the request using the attacker's own knowledge base ID from the URL and proceeds to delete the supplied objects, silently removing the victim's documents from RAG retrieval results without the victim receiving any notification. No public proof-of-concept code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 04, 2026

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.

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.

Affected VersionsENISA

open-webui 0.9.6, < 0.11.0

Affected Packages

pypi open-webui fix: 0.11.0

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

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.

Know when Open Webui 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

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

1
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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Medium
popular self-hosted AI frontend, significant but niche community footprint
Threat Intel
1
1 sources
Data Quality
7 sources
Confidence: High
EUVD 🇯🇵JVN NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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-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-2026-87995 HIGH POC
8.7 Sep 09

Stored cross-site scripting in Open WebUI's terminal port preview feature allows an authenticated attacker sharing a ter

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-2026-87016 HIGH POC
8.1 Sep 09

OAuth and SCIM identity confusion in Open WebUI 0.6.41-0.10.x (SQLite-backed deployments only) allows unauthenticated re

CVE-2026-87996 HIGH POC
7.7 Sep 09

DNS rebinding SSRF in Open WebUI versions 0.9.6 through 0.11.0 allows authenticated users who control authoritative DNS

CVE-2026-87011 HIGH POC
7.5 Sep 09

Denial of service in Open WebUI versions 0.9.0-0.11.0 allows unauthenticated remote attackers to stall the application s

CVE-2024-7983 HIGH POC
7.5 Mar 20

In version 0.3.8 of open-webui, an endpoint for converting markdown to HTML is exposed without authentication. Rated hig

CVE-2026-26193 HIGH POC
7.3 Feb 19

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. [CVSS 7.3 HIGH]

CVE-2026-26192 HIGH POC
7.3 Feb 19

Stored XSS in Open WebUI prior to version 0.7.0 allows authenticated users to inject malicious HTML payloads into chat d

CVE-2026-87998 HIGH POC
7.1 Sep 09

Improper privilege management in Open WebUI 0.10.0 through 0.11.0 allows any authenticated low-privilege user with write

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