CVE-2026-44560: Open webui Open WebUI Has Unauthorized File Vulnerability
MODERATECVE-2026-44560 is a MODERATE (CVSS 6.5) open webui has unauthorized file vulnerability (CWE-862: Missing Authorization) affecting Open webui libraries in the PyPI ecosystem. The issue involves open webui has unauthorized file and knowledge base content access via rag vector search. Remediation is available by upgrading affected packages to version 0.9.0.
CVE-2026-44560 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2026-44560
To remediate this vulnerability, upgrade all affected Open webui dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install open-webui>=0.9.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show open-webui
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-44560, inspect your installed packages using pip:
pip show open-webui
Analyze the terminal output to locate any version of Open webui in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.9.0), your application is affected.
Note: The pip show open-webui command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In Open webui, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-44560 Affected Open webui Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
open-webui
|
PyPI |
< 0.9.0
|
0.9.0
|
References
Frequently Asked Questions
What is CVE-2026-44560?
Which Open webui versions are affected?
What version fixes CVE-2026-44560?
Is open-webui affected?
What is the CVSS score of CVE-2026-44560?
What CWE is associated with CVE-2026-44560?
How can I check PyPI dependencies for CVE-2026-44560?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-h36f-rqpx-j5wx",
"modified" : "2026-05-15T23:53:30Z",
"published" : "2026-05-08T20:03:09Z",
"aliases" : [ "CVE-2026-44560" ],
"summary" : "Open WebUI has Unauthorized File and Knowledge Base Content Access via RAG Vector Search",
"details" : "# Unauthorized File and Knowledge Base Content Access via RAG Vector Search\n\n## Affected Component\n\nRAG source resolution in chat completion pipeline:\n- `backend/open_webui/retrieval/utils.py` (lines 963-965, 1063-1068, 1126-1131 in `get_sources_from_items`)\n\n## Affected Versions\n\nCurrent main branch (commit `6fdd19bf1`) and likely all versions with RAG functionality.\n\n## Description\n\nThe `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.\n\n| Path | Lines | Access Check |\n|------|-------|-------------|\n| `type: \"file\"`, full-context | 1044-1050 | ✅ `has_access_to_file` |\n| `type: \"file\"`, non-full-context (default) | 1063-1068 | ❌ None |\n| `type: \"collection\"` | 1070-1118 | ✅ Present |\n| `type: \"text\"` with `collection_name` | 963-965 | ❌ None |\n| Bare `collection_name`/`collection_names` | 1126-1131 | ❌ None |\n\nThe 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.\n\n## CVSS 3.1 Breakdown\n\n| Metric | Value | Rationale |\n|--------|-------|-----------|\n| Attack Vector | Network (N) | Exploited remotely via chat completion API |\n| Attack Complexity | Low (L) | Single API call with a known resource ID |\n| Privileges Required | Low (L) | Requires a valid user account |\n| User Interaction | None (N) | No victim interaction required |\n| Scope | Unchanged (U) | Impact within the application's data boundary |\n| Confidentiality | High (H) | Full content of private files/knowledge bases extractable |\n| Integrity | None (N) | No data modification |\n| Availability | None (N) | No denial of service |\n\n## Attack Scenario\n\n1. User A uploads a private document and uses it in RAG (the document is embedded into the vector store as collection `file-<file_id>`).\n2. 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.\n3. User A later revokes User B's access to the file.\n4. User B sends a chat completion request referencing the revoked file:\n ```json\n POST /api/chat/completions\n {\n \"model\": \"any-accessible-model\",\n \"messages\": [{\"role\": \"user\", \"content\": \"What does this document say about pricing?\"}],\n \"files\": [{\"type\": \"file\", \"id\": \"<revoked_file_id>\"}]\n }\n ```\n5. The non-full-context path (default) constructs collection name `file-<id>` and queries the vector store with no access check.\n6. Matching chunks are injected into the LLM context, and the response contains the victim's private file content.\n\nThe same attack works via `{\"type\": \"text\", \"collection_name\": \"<knowledge_base_id>\"}` for knowledge bases.\n\n## Impact\n\n- Access revocation is ineffective for RAG content — users who previously had access can continue extracting file and knowledge base content indefinitely\n- Private document content can be systematically extracted through targeted queries\n- Breaks the access control model for files and knowledge bases at the RAG layer\n\n## Preconditions\n\n- Attacker must know the file ID or knowledge base ID (UUID) of the target resource\n- The target file/knowledge base must have been processed into the vector store\n- Attacker must have a valid user account",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "open-webui"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.9.0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.8.12"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/open-webui/open-webui/security/advisories/GHSA-h36f-rqpx-j5wx"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-44560"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/open-webui/open-webui"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-862" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-08T20:03:09Z",
"nvd_published_at" : "2026-05-15T20:16:47Z"
}
}