# CVE-2026-45395: Open WebUI: Missing `workspace.tools` Authorization Check on Tool Update Endpoint Allows Privilege Escalation to Code Execution

- Severity: High 7.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- 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.44%, higher than 39% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-14T20:26:09.000Z
- Modified: 2026-11-11T20:10:00.273Z
- Also known as: GHSA-p4fx-23fq-jfg6
- Weaknesses: CWE-269, CWE-862
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.5, the tool update endpoint (POST /api/v1/tools/id/{id}/update) is missing the workspace.tools permission check that is present on the tool create endpoint. This allows a user who has been explicitly denied tool management capabilities ( and who the administrator considers untrusted for code execution ) to replace a tool's server-side Python content and trigger execution, bypassing the intended workspace.tools security boundary. This vulnerability is fixed in 0.9.5.

(As written by CVE List.)

## Affected

- open-webui open-webui: < 0.9.5
- open-webui (npm): before 0.9.5
- openwebui open_webui: before 0.9.5

## Every score

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

## References

- <https://github.com/open-webui/open-webui/security/advisories/GHSA-p4fx-23fq-jfg6> (exploit, mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-45395> (advisory)
- <https://github.com/open-webui/open-webui> (package)
- <https://github.com/open-webui/open-webui/releases/tag/v0.9.5> (web)

## Sources

- CVE List: [CVE-2026-45395](https://www.cve.org/CVERecord?id=CVE-2026-45395), CVE Terms of Use, modified 2026-05-19
- GitHub Advisory Database: [GHSA-p4fx-23fq-jfg6](https://github.com/advisories/GHSA-p4fx-23fq-jfg6), CC-BY-4.0, modified 2026-05-16
- NVD: [CVE-2026-45395](https://nvd.nist.gov/vuln/detail/CVE-2026-45395), Public domain, modified 2026-11-11

---

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