Skip to content
HighVulnerability

GHSA-8jjp-r2w2-4v22: Open WebUI: Low-privilege authenticated users can enumerate and stop global background tasks, causing system-wide chat disruption

Published
Record updated
View JSON
Affected
  • open-webui <= 0.8.12
Fixed in
0.9.0
  • released April 21, 2026, 23 days before disclosure

Summary

Any authenticated low-privilege user can call GET /api/tasks to list active background tasks across all users and POST /api/tasks/stop/{task_id} to stop tasks owned by others in Open WebUI. Both endpoints require only get_verified_user, and the helpers in backend/open_webui/tasks.py operate on a global task namespace with no owner check. This allows a casual user to repeatedly cancel other users' chat tasks, disrupting system-wide chat use in multi-user deployments.

Mitigation

Suggested remediation: store task ownership metadata such as user_id and chat_id, then enforce owner-only access for non-admin users. Suggested locations: backend/open_webui/main.py to add authentication checks for /api/tasks and /api/tasks/stop/{task_id}, and backend/open_webui/tasks.py to store and query ownership metadata and support owner-scoped listing and stopping.