GHSA-4pcg-253r-rf9w: Open WebUI's chat completion API allows tool restrictions to be bypassed
- Identifiers
- CVE-2026-45350GHSA-4pcg-253r-rf9w
- Published
- Record updated
- 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.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- open-webuiPyPILLM dependency since 2024-05-20
Topics
Related items
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online