CVE-2026-45395

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

Published May 15, 2026 CVSS 3.1 · 7.2 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The Open WebUI platform performs privilege checks on tool operations to protect its server‑side Python code. Prior to version 0.9.5, the tool‑update endpoint lacked the workspace.tools permission check that the tool‑create endpoint uses. As a result an attacker who has been explicitly denied tool‑management rights can replace the Python source of any hosted tool and execute arbitrary code under the WebUI process user. This flaw is a classic case of improper privilege management (CWE‑269) and missing authorization (CWE‑862). The immediate consequence is that an untrusted user can gain code‑execution authority on the host.

Affected Systems

The affected product is Open WebUI, a self‑hosted artificial‑intelligence platform. Versions before 0.9.5 are vulnerable; the issue was fixed in 0.9.5. Users running any release earlier than 0.9.5 should review their deployment.

Risk and Exploitability

The CVSS score of 7.2 indicates high severity, and although the EPSS score is not available, the flaw can be triggered by an authenticated user who knows a tool identifier. No exploit is currently listed in the CISA KEV catalog. An attacker can forge a POST request to /api/v1/tools/id/{id}/update with malicious Python payload, replacing the tool’s server code and achieving arbitrary code execution.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Open WebUI to version 0.9.5 or later, which includes a correct workspace.tools authorization check on the tool‑update endpoint.
  • Before patching, revoke the workspace.tools permission from all untrusted or low‑privilege users so that the update endpoint cannot be misused during the transition period.
  • Verify that the tool‑update endpoint now requires the workspace.tools role by attempting a test update with a non‑privileged account; a 403 Forbidden response should be returned.

Generated by OpenCVE AI on May 15, 2026 at 21:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-p4fx-23fq-jfg6 Open WebUI: Missing `workspace.tools` Authorization Check on Tool Update Endpoint Allows Privilege Escalation to Code Execution
History
Type Values Removed Values Added
First Time appeared Openwebui
Openwebui open Webui
CPEs cpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:*
Vendors & Products Openwebui
Openwebui open Webui
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Open-webui
Open-webui open-webui
Vendors & Products Open-webui
Open-webui open-webui
Type Values Removed Values Added
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.
Title Open WebUI: Missing `workspace.tools` Authorization Check on Tool Update Endpoint Allows Privilege Escalation to Code Execution
Weaknesses CWE-269
CWE-862
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
May 19, 2026, 3:55 AM
Reserved
May 12, 2026, 1:48 AM
Status
Analyzed
Published
May 15, 2026, 9:16 PM
Modified
Nov 11, 2026, 8:10 PM