Authorization bypass through user-controlled key in Open WebUI - #VU146343
Published: August 31, 2026
Vulnerability details
The vulnerability allows a remote user to inject chats into another user\'s folder.
The vulnerability exists due to missing authorization in the chat-completions handler in backend/open_webui/main.py when handling POST requests to /api/chat/completions and /api/v1/chat/completions with a user-supplied folder id. A remote user can send a crafted request with a target folder id to inject chats into another user\'s folder.
Folders must be enabled, and exploitation requires knowledge of the target folder id. Shared folders with read-only access are reachable, while unshared folders are not practically reachable through available endpoints.