Skip to content
HighVulnerabilityLLM-specific

GHSA-jjp7-g2jw-wh3j: Open WebUI's process_files_batch() endpoint missing ownership check, allows unauthorized file overwrite

Published
Record updated
View JSON
Affected
  • open-webui < 0.8.6
Fixed in
0.8.6
  • released March 1, 2026, 26 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
3.0%

Summary

Any authenticated Open WebUI user can overwrite any file by ID through the POST /api/v1/retrieval/process/files/batch endpoint, because process_files_batch() in backend/open_webui/routers/retrieval.py has no ownership check before writing. Attackers can obtain valid file UUIDs from GET /api/v1/knowledge/{id}/files for any knowledge base they can read, and the overwritten content is then served to the LLM via RAG. Tested on Open WebUI 0.8.3 in a default Docker configuration.

Mitigation

Suggested fix: add an ownership check before writing, rejecting the file with "Permission denied: not file owner" unless db_file.user_id matches the requesting user or the user is an admin. No released fixed version is stated in the source.