Skip to content
HighVulnerability

GHSA-4pcg-253r-rf9w: Open WebUI's chat completion API allows tool restrictions to be bypassed

Published
Record updated
View JSON
Affected
  • open-webui <= 0.8.5
Fixed in
0.8.6
  • released March 1, 2026, 74 days before disclosure

Summary

Open WebUI v0.6.43 lets a low-privilege user invoke restricted server tools through the chat completion API by supplying a tool's ID in the tool_ids parameter. The chat_completion flow never checks whether the caller may use the tool, so the stored authentication token runs the tool with server privileges, even for private MCP servers.

Mitigation

Fixed across two releases. Local Tool records were fixed in commit 9b06fdc8f, first released in v0.7.0: get_tools() in backend/open_webui/utils/tools.py now rejects requested tool_ids the caller neither owns nor holds a read grant for. Admins still bypass the check when BYPASS_ADMIN_ACCESS_CONTROL is enabled. The source text is cut off before describing the fix for admin-configured MCP servers.