Skip to content
MediumVulnerability

GHSA-6c2x-gcp3-gp73: Open WebUI vulnerable to Global Knowledge Base Enumeration via knowledge-bases Meta-Collection

Published
Record updated
View JSON
Affected
  • open-webui <= 0.8.12
Fixed in
0.9.0
  • released April 21, 2026, 17 days before disclosure

Summary

Open WebUI's `_validate_collection_access` function in `backend/open_webui/routers/retrieval.py` enforces ownership checks only for collections prefixed `user-memory-` and `file-`, so other collection names pass unchecked. An authenticated user can query the system-level `knowledge-bases` meta-collection through `POST /api/v1/retrieval/query/doc`, which returns IDs, names and descriptions of knowledge bases across all users on the instance. The source states the current main branch (commit `6fdd19bf1`) and likely all versions with the knowledge base subsystem are affected; the attacker needs a valid user account.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.