{"id":"CVE-2026-45350","published":"2026-05-15T21:23:49Z","modified":"2026-05-15T22:21:32Z","title":"Open WebUI: Chat completion API allows tool restrictions to be bypassed","vendor":"open-webui","product":"open-webui","tier":"tail","description":{"text":"Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.8.6, there is a vulnerability in chat completion API, which allows attackers to bypass tool restrictions, potentially enabling unauthorized actions or access. In the chat_completion API, the parameters tool_ids and tool_servers are supplied by the user. These parameters are used to create a tools_dict by the middleware. This is then used by get_tool_by_id to retrieve the appropriate tool. However, there is no checks in that ensures the user that uses the API has permission to use the tool, meaning that a user can invoke any server tool by supplying the correct tool_id or tool_servers parameters via the chat completion API. Moreover, the authentication token stored in the server would be used when invoking the tool, so the tool will be invoked with the server privilege. This vulnerability is fixed in 0.8.6.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00374,"percentile":0.23301,"provenance":"source"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://github.com/open-webui/open-webui/security/advisories/GHSA-4pcg-253r-rf9w","tags":["x_refsource_CONFIRM"]}],"priority":{"score":9.6,"factors":[{"name":"EPSS percentile","points":4.66},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"open-webui","affectedVersions":[{"vendor":"open-webui","product":"open-webui","versions":["< 0.8.6"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-15T22:18:20.873238Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"open-webui","vulnerableRanges":["<0.8.6"],"patched":["0.8.6"],"from":["GHSA-4pcg-253r-rf9w","PYSEC-2026-2700"],"provenance":"source"}],"summary":{"text":"Open WebUI, a self-hosted AI platform, has a flaw in its chat completion API where the user-supplied tool_ids and tool_servers parameters are used to resolve tools without any check that the caller is permitted to use them. An attacker with low-privilege network access and a valid account can invoke any server tool by supplying its tool_id or tool_servers value, and because the server's stored authentication token is used, the tool runs with server privileges and no user interaction is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:08:04Z"},"euvd":{"id":"EUVD-2026-30652","exploited":false,"provenance":"source"}}