Skip to content
MediumVulnerability

GHSA-h36f-rqpx-j5wx: Open WebUI has Unauthorized File and Knowledge Base Content Access via RAG Vector Search

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 `get_sources_from_items` function in `backend/open_webui/retrieval/utils.py` sends user-supplied collection names straight to `query_collection()` on three of five RAG code paths without an authorization check. A logged-in user who knows a file ID or knowledge base UUID can retrieve matching vector store chunks from resources they no longer have access to, and the content is returned in the chat response. The source states that the flaw is present on the current main branch (commit `6fdd19bf1`) and likely in all versions with RAG functionality.

Mitigation

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