CVE-2026-45350 Open WebUI: Chat completion API allows tool restrictions to be bypassed
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
Description
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| openwebui open webui | < 0.8.6 | 0.8.6 | Fixed |
| pypi open-webui(PyPI) | < 0.8.6; <= 0.8.5; = 0.1.124; = 0.1.125 +142 more | 0.8.6 | Fixed |
| open-webui | = < 0.8.6 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi open-webui(PyPI) | < 0.8.6 | 0.8.6 |
| pypi open-webui(PyPI) | = 0.1.124 | No fix listed |
| pypi open-webui(PyPI) | = 0.1.125 | No fix listed |
| pypi open-webui(PyPI) | = 0.2.0 | No fix listed |
| pypi open-webui(PyPI) | = 0.2.1 | No fix listed |
| pypi open-webui(PyPI) | = 0.2.2 | No fix listed |
| pypi open-webui(PyPI) | = 0.2.3 | No fix listed |
| pypi open-webui(PyPI) | = 0.2.4 | No fix listed |
| pypi open-webui(PyPI) | = 0.2.5 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.0 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.1 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.10 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.12 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.13 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.14 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.15 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.16 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.17 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.17.dev2 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.17.dev3 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.17.dev4 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.17.dev5 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.18 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.19 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.2 | No fix listed |
Show 123 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi open-webui(PyPI) | = 0.3.20 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.21 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.22 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.23 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.24 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.25 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.26 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.27 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.27.dev1 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.27.dev2 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.27.dev3 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.28 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.29 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.3 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.30 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.30.dev1 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.30.dev2 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.31 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.31.dev1 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.32 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.33 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.33.dev1 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.34 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.35 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.4 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.5 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.6 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.7 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.8 | No fix listed |
| pypi open-webui(PyPI) | = 0.3.9 | No fix listed |
| pypi open-webui(PyPI) | = 0.4.0 | No fix listed |
| pypi open-webui(PyPI) | = 0.4.0.dev1 | No fix listed |
| pypi open-webui(PyPI) | = 0.4.0.dev2 | No fix listed |
| pypi open-webui(PyPI) | = 0.4.1 | No fix listed |
| pypi open-webui(PyPI) | = 0.4.2 | No fix listed |
| pypi open-webui(PyPI) | = 0.4.3 | No fix listed |
| pypi open-webui(PyPI) | = 0.4.4 | No fix listed |
| pypi open-webui(PyPI) | = 0.4.5 | No fix listed |
| pypi open-webui(PyPI) | = 0.4.6 | No fix listed |
| pypi open-webui(PyPI) | = 0.4.6.dev1 | No fix listed |
| pypi open-webui(PyPI) | = 0.4.7 | No fix listed |
| pypi open-webui(PyPI) | = 0.4.8 | No fix listed |
| pypi open-webui(PyPI) | = 0.5.0 | No fix listed |
| pypi open-webui(PyPI) | = 0.5.0.dev1 | No fix listed |
| pypi open-webui(PyPI) | = 0.5.0.dev2 | No fix listed |
| pypi open-webui(PyPI) | = 0.5.1 | No fix listed |
| pypi open-webui(PyPI) | = 0.5.10 | No fix listed |
| pypi open-webui(PyPI) | = 0.5.11 | No fix listed |
| pypi open-webui(PyPI) | = 0.5.12 | No fix listed |
| pypi open-webui(PyPI) | = 0.5.13 | No fix listed |
| pypi open-webui(PyPI) | = 0.5.14 | No fix listed |
| pypi open-webui(PyPI) | = 0.5.15 | No fix listed |
| pypi open-webui(PyPI) | = 0.5.16 | No fix listed |
| pypi open-webui(PyPI) | = 0.5.17 | No fix listed |
| pypi open-webui(PyPI) | = 0.5.18 | No fix listed |
| pypi open-webui(PyPI) | = 0.5.19 | No fix listed |
| pypi open-webui(PyPI) | = 0.5.2 | No fix listed |
| pypi open-webui(PyPI) | = 0.5.20 | No fix listed |
| pypi open-webui(PyPI) | = 0.5.3 | No fix listed |
| pypi open-webui(PyPI) | = 0.5.3.dev1 | No fix listed |
| pypi open-webui(PyPI) | = 0.5.4 | No fix listed |
| pypi open-webui(PyPI) | = 0.5.5 | No fix listed |
| pypi open-webui(PyPI) | = 0.5.6 | No fix listed |
| pypi open-webui(PyPI) | = 0.5.7 | No fix listed |
| pypi open-webui(PyPI) | = 0.5.8 | No fix listed |
| pypi open-webui(PyPI) | = 0.5.9 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.0 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.1 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.10 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.11 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.12 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.13 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.14 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.15 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.16 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.18 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.19 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.2 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.20 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.21 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.22 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.23 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.24 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.25 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.26 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.26.dev1 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.27 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.28 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.29 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.3 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.30 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.31 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.32 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.33 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.34 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.35 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.36 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.37 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.38 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.39 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.4 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.40 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.41 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.42 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.43 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.5 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.6 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.6.dev1 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.7 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.8 | No fix listed |
| pypi open-webui(PyPI) | = 0.6.9 | No fix listed |
| pypi open-webui(PyPI) | = 0.7.0 | No fix listed |
| pypi open-webui(PyPI) | = 0.7.1 | No fix listed |
| pypi open-webui(PyPI) | = 0.7.2 | No fix listed |
| pypi open-webui(PyPI) | = 0.8.0 | No fix listed |
| pypi open-webui(PyPI) | = 0.8.1 | No fix listed |
| pypi open-webui(PyPI) | = 0.8.2 | No fix listed |
| pypi open-webui(PyPI) | = 0.8.3 | No fix listed |
| pypi open-webui(PyPI) | = 0.8.4 | No fix listed |
| pypi open-webui(PyPI) | = 0.8.5 | No fix listed |
| open-webui | = < 0.8.6 | No fix listed |
| pypi open-webui(PyPI) | <= 0.8.5 | No fix listed |
| openwebui open webui | < 0.8.6 | 0.8.6 |
References
- https://github.com/open-webui/open-webui/security/advisories/GHSA-4pcg-253r-rf9w exploit patch vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com product
- github.com
- pypi.org product
- github.com vendor-advisory