# CVE-2026-45350: Open WebUI: Chat completion API allows tool restrictions to be bypassed

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-14T20:24:48.000Z
- Modified: 2026-11-11T20:10:00.273Z
- Also known as: GHSA-4pcg-253r-rf9w, PYSEC-2026-2700
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- open-webui open-webui: < 0.8.6
- open-webui (PyPI): before 0.8.6
- openwebui open_webui: before 0.8.6

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N`

## References

- <https://github.com/open-webui/open-webui/security/advisories/GHSA-4pcg-253r-rf9w> (exploit, patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-45350> (advisory)
- <https://github.com/open-webui/open-webui/commit/4737e1f11> (web)
- <https://github.com/open-webui/open-webui> (package)
- <https://github.com/open-webui/open-webui/releases/tag/v0.8.6> (web)
- <https://pypi.org/project/open-webui> (package)
- <https://github.com/advisories/GHSA-4pcg-253r-rf9w> (advisory)

## Sources

- CVE List: [CVE-2026-45350](https://www.cve.org/CVERecord?id=CVE-2026-45350), CVE Terms of Use, modified 2026-05-15
- GitHub Advisory Database: [GHSA-4pcg-253r-rf9w](https://github.com/advisories/GHSA-4pcg-253r-rf9w), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-45350](https://nvd.nist.gov/vuln/detail/CVE-2026-45350), Public domain, modified 2026-11-11
- PyPA Advisory Database: [PYSEC-2026-2700](https://osv.dev/vulnerability/PYSEC-2026-2700), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-45350 · Whole record: https://cve.day/CVE-2026-45350.json · Rebuilt by cve.day 2026-11-25T22:59:21.879Z
