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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| mckaywrigley | chatbot-ui | — | — |
References
- GitHub Issue #2028 issue-tracking
- https://github.com/mckaywrigley/chatbot-ui product
- https://github.com/mckaywrigley/chatbot-ui/blob/81328b61d2a4ab597a7a057be70e785cf756d9f8/app/api/retrieval/retrieve/route.ts technical-description
- VulnCheck Advisory: Chatbot UI Cross-User Private File Content Disclosure via Retrieval API third-party-advisory