Authorization bypass through user-controlled key in Open WebUI - CVE-2026-28788
Published: April 24, 2026
Open WebUI
Detailed vulnerability description
The vulnerability allows a remote user to overwrite arbitrary files and poison retrieval-augmented generation content.
The vulnerability exists due to improper access control in the process_files_batch() endpoint in backend/open_webui/routers/retrieval.py when handling crafted POST requests to /api/v1/retrieval/process/files/batch. A remote user can submit a file UUID and attacker-controlled content to overwrite arbitrary files and poison retrieval-augmented generation content.
Exploitation requires a valid account and knowledge of a target file UUID, which can be obtained from knowledge bases the user can read.