open-webui/backend
DrMelone eebe4e860a fix: enforce collection ownership on process/file, process/web, and process/text endpoints
These endpoints accepted an arbitrary collection_name and would write to the target collection without verifying the caller owns the underlying resource. An attacker could inject content into or destroy any KB by supplying its UUID as the collection_name.

Adds _verify_collection_write_access that checks file and knowledge base ownership before allowing writes. Applied to all three process endpoints. Admins bypass the check.
2026-04-12 20:29:26 +02:00
..
data refac: mv backend files to /open_webui dir 2024-09-04 16:54:48 +02:00
open_webui fix: enforce collection ownership on process/file, process/web, and process/text endpoints 2026-04-12 20:29:26 +02:00
.dockerignore fix: litellm config issue 2024-02-24 22:35:11 -08:00
.gitignore refac 2024-09-06 04:59:20 +02:00
dev.sh refac 2026-03-24 19:43:30 -05:00
requirements-min.txt chore: dep bump (#22305) 2026-03-07 17:12:22 -06:00
requirements.txt refac 2026-03-24 20:06:43 -05:00
start.sh refac 2026-03-24 19:43:30 -05:00
start_windows.bat refac 2026-03-24 19:43:30 -05:00