CVE-2026-44557: Open WebUI vulnerable to Global Knowledge Base Enumeration via knowledge-bases Meta-Collection
Open WebUI up to 0.8.12 lets any logged-in user list every knowledge base on the instance. The retrieval query endpoints do not check access to the system-level knowledge-bases collection, which holds the ID, name and description of every knowledge base. The leaked UUIDs enable other attacks. Fixed in 0.9.0.
Published May 8, 2026 · Updated May 15, 2026 · Analysis Oct 28, 2026
What an attacker can do
_validate_collection_access in backend/open_webui/routers/retrieval.py only enforces ownership for collection names that start with user-memory- or file-. Every other name passes, including the knowledge-bases meta-collection. A user posts to /api/v1/retrieval/query/doc with collection_name set to knowledge-bases and a query word such as confidential, project or internal. The vector search returns matching records from all users, each with its UUID, name and description. Changing the query walks through more of the index.
By itself the leak is moderate: names and descriptions can reveal project names, internal initiatives and user activity. The bigger effect is that knowledge base UUIDs are random and unguessable, and this removes that protection. The advisory says the enumeration enables knowledge base destruction through process/web (see CVE-2026-44554), cross-user content injection through process/file, and a RAG vector search access bypass in retrieval/utils.py. Those attacks all need the target UUID.
The attacker needs only a valid account and one API call per query. There is no user interaction. Shared instances with many users and private knowledge bases are the most exposed.
Who is affected
Affected: open-webui <= 0.8.12 (pip). The report was made against main at commit 6fdd19bf1 and says likely all versions with the knowledge base subsystem. Instances with multiple users and knowledge bases that are meant to stay private are the ones that matter.
Check the version:
pip show open-webuiFor Docker, check the image tag.
open-webui
- Ecosystem
- PyPI
- Affected
- <= 0.8.12
- Fixed in
- 0.9.0
- Check
pip show open-webui
How to fix it
Upgrade to open-webui 0.9.0 or later:
pip install --upgrade open-webuiThe advisory lists no workaround and describes no code change beyond the incomplete allowlist in _validate_collection_access. Until you upgrade, limit who can hold an account, and treat knowledge base names and descriptions as visible to every user. Upgrade the related flaws together, since the enumeration feeds the destruction and injection attacks.
How to tell if you were hit
Search access logs for POST /api/v1/retrieval/query/doc (and other retrieval query routes) with collection_name set to knowledge-bases. A normal client does not query that collection directly. Repeated calls with changing query words from one account suggest enumeration.
Follow up on the same account: later calls to retrieval/process/web or process/file with collection_name values that are knowledge base UUIDs the account does not own. Unexpected changes to a knowledge base are a sign the list was used.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Global Knowledge Base Enumeration via knowledge-bases Meta-Collection
Affected Component
Retrieval collection access validation:
backend/open_webui/routers/retrieval.py(lines 2330-2355,_validate_collection_access)backend/open_webui/routers/retrieval.py(query endpoints, e.g.POST /query/doc)
Affected Versions
Current main branch (commit 6fdd19bf1) and likely all versions with the knowledge base subsystem.
Description
The _validate_collection_access function uses an incomplete allowlist that only enforces ownership checks for collections matching user-memory-* and file-* patterns. All other collection names pass through unchecked — including the system-level knowledge-bases meta-collection, which stores the IDs, names, and descriptions of every knowledge base on the instance.
Any authenticated user can query this meta-collection directly via the retrieval query endpoints to obtain a global index of all knowledge bases across all users.
# retrieval.py:2330-2355 — incomplete collection allowlist
def _validate_collection_access(user, collection_name, ...):
if collection_name.startswith('user-memory-'):
# Check user-memory ownership
...
elif collection_name.startswith('file-'):
# Check file access
...
# Everything else (including "knowledge-bases") passes through uncheckedThis finding is the enabler for the KB destruction (process/web), KB content injection (process/file), and RAG vector search access bypass findings — all of which require knowing a target KB's UUID. Without this enumeration, UUIDs are random and practically unguessable; with it, UUIDs across the entire instance are trivially obtained.
CVSS 3.1 Breakdown
| Metric | Value | Rationale | | Attack Vector | Network (N) | Exploited remotely via API call | | Attack Complexity | Low (L) | Single API call | | 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 boundary | | Confidentiality | Low (L) | Discloses KB metadata (IDs, names, descriptions) across all users | | Integrity | None (N) | No direct data modification | | Availability | None (N) | No denial of service |
Attack Scenario
- Attacker (any authenticated user) sends: ``
POST /api/v1/retrieval/query/doc { "collection_name": "knowledge-bases", "query": "confidential" }`` _validate_collection_accessdoes not recognize theknowledge-basesprefix and lets the request pass.- The vector search returns the most relevant documents from the meta-collection — knowledge base records including their UUIDs, names, and descriptions — across all users on the instance.
- Attacker varies the query to enumerate more KBs:
"project","internal","private", etc. - Attacker now has a full target list for subsequent attacks (destruction, poisoning, content extraction).
Impact
- Information disclosure: KB names and descriptions may reveal sensitive project names, internal initiatives, or user activities
- Enabler for other attacks: Unlocks the following findings by supplying the required target UUIDs:
- KB destruction/poisoning via
process/web - Cross-user content injection via
process/file - RAG vector search access bypass in
retrieval/utils.py - Transforms these from theoretical (requires UUID guessing) to trivially exploitable (UUIDs enumerable)
Preconditions
- Attacker must have a valid user account
Credited to Classic298.
Questions
- What does the attacker get from this alone?
The IDs, names and descriptions of all knowledge bases across all users. The CVSS impact is low confidentiality, with no integrity or availability effect.
- Why is it more serious than it looks?
The advisory says it enables knowledge base destruction, cross-user content injection and a RAG search bypass, which all need a target UUID that this flaw supplies.
- Does it need admin rights?
No. Any authenticated user account can send the query.
- Is it exploited in the wild?
No source reports exploitation. It is not in CISA's KEV catalog, and its EPSS score is low (0.0022).
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More Open WebUI vulnerabilities
All Open WebUI entriesCVE-2026-87011
Open WebUI: Unauthenticated requests can stall the server via uncached OIDC fetches in back-channel logout
high7.5Sep 10, 2026CVE-2026-87012
Open WebUI: Any authenticated user can suppress calendar alerts instance-wide via a non-numeric alert value
medium4.3Sep 10, 2026CVE-2026-87013
Open WebUI: Any authenticated user can start a non-terminating request via a folder parent cycle
medium4.3Sep 10, 2026CVE-2026-87014
Open WebUI: Admin demoted through SSO role sync keeps read and write access to all users' notes
medium6.5Sep 10, 2026CVE-2026-87015
Open WebUI: A user's session cookies are sent to tool servers configured for bearer authentication
medium6.8Sep 10, 2026CVE-2026-87016
Open WebUI: Sign-in as another user via wildcard characters in the OAuth subject claim on SQLite
high8.1Sep 10, 2026
