Description
Chatbot UI contains an authorization bypass vulnerability in the retrieval endpoint that allows authenticated attackers to access private file content belonging to other users by supplying arbitrary file UUIDs. The endpoint uses a service-role Supabase client that bypasses row-level security and fails to validate file ownership, enabling attackers to retrieve indexed content chunks from victim files through crafted POST requests.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
mckaywrigley chatbot-ui
Default version status: unaffected
0 to ≤ 81328b61d2a4ab597a7a057be70e785cf756d9f8affected
References
- https://github.com/mckaywrigley/chatbot-ui/issues/2028 ↗
- https://github.com/mckaywrigley/chatbot-ui ↗
- https://github.com/mckaywrigley/chatbot-ui/blob/81328b61d2a4ab597a7a057be70e785cf756d9f8/app/api/retrieval/retrieve/route.ts ↗
- https://www.vulncheck.com/advisories/chatbot-ui-cross-user-private-file-content-disclosure-via-retrieval-api ↗