Skip to main content

Open WebUI CVE-2026-44560

| EUVDEUVD-2026-30618 MEDIUM
Missing Authorization (CWE-862)
2026-05-08 https://github.com/open-webui/open-webui GHSA-h36f-rqpx-j5wx
6.5
CVSS 3.1 · Vendor: https://github.com/open-webui/open-webui
View

Attack ChainAIDerived

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

  1. Recon
    Obtain revoked file ID from prior access
  2. Delivery
    Craft chat completion request with revoked file reference
  3. Exploit
    Submit POST to /api/chat/completions
  4. Install
    Unprotected code path skips authorization check
  5. C2
    Vector store returns private document chunks
  6. Execute
    LLM injects private content into response
  7. Impact
    Attacker reads extracted confidential content

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
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

Exploitation requires a valid Open WebUI user account (PR:L per CVSS vector) and prior knowledge of the target file ID (format: file-<uuid>) or knowledge base UUID - typically obtained during a period of legitimate access or through another information disclosure path. The target file or knowledge base must have been processed into the vector store via RAG ingestion; documents never added to RAG are not accessible through this path. Critically, access revocation does not prevent exploitation - a user whose access was revoked can still query the vector store if they retain the collection name. Exploitation is limited in breadth by the need to know specific identifiers; bulk enumeration of all private files is not directly enabled by this CVE alone. The vulnerability does not affect deployments where all authenticated users share equivalent access rights, or where RAG file sharing across different trust levels is not used.

Impact

The CVSS 3.1 score of 6.5 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) is well-calibrated: network-accessible, single API call, no victim interaction required, and full confidentiality impact on targeted documents. The EPSS score of 0.03% (8th percentile) and SSVC designation of 'Exploitation: none, Automatable: no, Technical Impact: partial' together indicate no observed mass exploitation and limited automated attack potential, consistent with the requirement that the attacker must already know a specific file ID or UUID. The SSVC 'Technical Impact: partial' rating is conservative relative to the CVSS C:H designation - in practice, full content of any targeted document is extractable, but the attacker cannot enumerate all private files without additional information disclosure, which bounds the blast radius. A 'Denial of Service' tag appears in the intelligence metadata but conflicts directly with the CVE description and the CVSS A:N metric; this tag should be treated as erroneous. For multi-tenant or enterprise deployments relying on access revocation as a security control, this is a real priority despite the low EPSS score - the attack is trivial once a file ID is known. Single-user or fully-trusted-team deployments carry negligible practical risk.

Exploit ScenarioDerived

An authenticated user whose access to a colleague's private document was revoked retains the collection name file-<uuid> from a prior legitimate interaction; the attacker sends a single POST /api/chat/completions request with 'files': [{'type': 'file', 'id': '<revoked_file_id>'}], and the non-full-context default code path constructs the collection name and queries the vector store without any authorization check, injecting matching private document chunks into the LLM's context window. The model then summarizes or quotes the private content in its response, completing the exfiltration. The same attack succeeds against knowledge bases using the type: 'text' path with the knowledge base UUID as collection_name.

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

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

Alert me

AnalysisAIv1 – Jul 23, 2026

Unauthorized access to private RAG file and knowledge base content in Open WebUI (versions ≤ 0.8.12) is possible because three of five code paths in the get_sources_from_items function pass user-supplied collection names directly to the vector store without any authorization check, making access revocation ineffective at the RAG layer. Authenticated users who previously held access to a file or knowledge base - or who learn the predictable collection name format (file-<uuid>) - can continue extracting full document content via the chat completion API long after their access was revoked. No public exploit has been identified at time of analysis and CISA KEV does not list this CVE, but attack complexity is low and the impact is complete confidentiality loss of targeted private documents.

RemediationAI

Upgrade Open WebUI to version 0.9.0 or later, which resolves the missing authorization checks across all code paths in get_sources_from_items. The fix and full disclosure are documented in GitHub Security Advisory GHSA-h36f-rqpx-j5wx at https://github.com/open-webui/open-webui/security/advisories/GHSA-h36f-rqpx-j5wx. For deployments that cannot upgrade immediately, restrict the chat completion API (POST /api/chat/completions) to accounts whose access to all referenced RAG resources is fully trusted, and audit the user list to remove any accounts that may have retained residual knowledge of file IDs after access revocation. Additionally, re-ingesting sensitive documents under new file IDs and deprecating old ones will invalidate identifiers an attacker may have previously observed - note this is operationally disruptive and does not close the underlying code path vulnerability. None of these workarounds substitute for upgrading to 0.9.0.

Affected VersionsENISA

open-webui < 0.9.0

Affected Packages

pypi open-webui fix: 0.9.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

Open WebUI is a self-hosted web interface for interacting with LLMs, distributed as pkg:pip/open-webui on PyPI. Its RAG pipeline ingests documents into a vector store and retrieves relevant chunks during chat completions via get_sources_from_items in backend/open_webui/retrieval/utils.py. The function handles five item resolution paths; two paths correctly invoke has_access_to_file before querying, but three - the non-full-context type: 'file' path (lines 1063-1068), the type: 'text' path with collection_name (lines 963-965), and the bare collection_name/collection_names path (lines 1126-1131) - call query_collection() without any authorization gate. The root cause is CWE-862 (Missing Authorization): enforcement is inconsistently scattered across branches rather than enforced at the data access boundary. Collection names follow deterministic patterns (file-<file_id> for files, knowledge base UUID for collections), so an attacker who has ever seen a resource identifier retains the ability to query it indefinitely. The EUVD entry EUVD-2026-30618 corroborates all affected versions as open-webui < 0.9.0.

Know when the next one hits your stack

  • 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 (https://github.com/open-webui/open-webui) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 6.5 MEDIUM

Network exploitation via chat API requires only a valid user account (PR:L); confidentiality fully impacted as complete private document content is extractable; no integrity or availability impact confirmed.

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

Primary rating from Vendor (https://github.com/open-webui/open-webui).

CVSS VectorVendor: https://github.com/open-webui/open-webui

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

DescriptionCVE.org

Unauthorized File and Knowledge Base Content Access via RAG Vector Search

Affected Component

RAG source resolution in chat completion pipeline:

  • backend/open_webui/retrieval/utils.py (lines 963-965, 1063-1068, 1126-1131 in get_sources_from_items)

Affected Versions

Current main branch (commit 6fdd19bf1) and likely all versions with RAG functionality.

Description

The get_sources_from_items function resolves file and knowledge base references into vector search queries during chat completion. Three of the five code paths perform vector store queries without any authorization check, allowing users to extract content from files and knowledge bases they do not have access to.

PathLinesAccess Check
type: "file", full-context1044-1050✅ has_access_to_file
type: "file", non-full-context (default)1063-1068❌ None
type: "collection"1070-1118✅ Present
type: "text" with collection_name963-965❌ None
Bare collection_name/collection_names1126-1131❌ None

The three unprotected paths pass user-supplied collection names directly to query_collection(), which queries the vector store without any authorization. Collection names follow predictable formats: file-<file_id> for files and the knowledge base UUID for knowledge bases.

CVSS 3.1 Breakdown

MetricValueRationale
Attack VectorNetwork (N)Exploited remotely via chat completion API
Attack ComplexityLow (L)Single API call with a known resource ID
Privileges RequiredLow (L)Requires a valid user account
User InteractionNone (N)No victim interaction required
ScopeUnchanged (U)Impact within the application's data boundary
ConfidentialityHigh (H)Full content of private files/knowledge bases extractable
IntegrityNone (N)No data modification
AvailabilityNone (N)No denial of service

Attack Scenario

  1. User A uploads a private document and uses it in RAG (the document is embedded into the vector store as collection file-<file_id>).
  2. User A shares a chat or model referencing the file with User B, or User B otherwise obtains the file ID through a legitimate interaction.
  3. User A later revokes User B's access to the file.
  4. User B sends a chat completion request referencing the revoked file:
json
   POST /api/chat/completions
   {
     "model": "any-accessible-model",
     "messages": [{"role": "user", "content": "What does this document say about pricing?"}],
     "files": [{"type": "file", "id": "<revoked_file_id>"}]
   }
  1. The non-full-context path (default) constructs collection name file-<id> and queries the vector store with no access check.
  2. Matching chunks are injected into the LLM context, and the response contains the victim's private file content.

The same attack works via {"type": "text", "collection_name": "<knowledge_base_id>"} for knowledge bases.

Impact

  • Access revocation is ineffective for RAG content - users who previously had access can continue extracting file and knowledge base content indefinitely
  • Private document content can be systematically extracted through targeted queries
  • Breaks the access control model for files and knowledge bases at the RAG layer

Preconditions

  • Attacker must know the file ID or knowledge base ID (UUID) of the target resource
  • The target file/knowledge base must have been processed into the vector store
  • Attacker must have a valid user account

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Prevalence
Medium
popular self-hosted LLM UI, growing enterprise and developer adoption
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

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.0%
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

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
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.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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