Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. open-webui
  4. ›
  5. CVE-2026-45395

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

May 14, 2026 (updated May 15, 2026)

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.

Open WebUI’s security policy correctly states that workspace.tools is the trust boundary for code execution: “Granting a user the ability to create Tools is equivalent to giving them shell access to the server.” This vulnerability breaks that boundary. A write access grant on a single tool is sufficient to bypass workspace.tools entirely.

This is not a report about exec() being unsandboxed (that is acknowledged as intended behavior). This is a report about a missing authorization check that allows an untrusted user to reach the exec() sink that should be gated behind workspace.tools.

References

  • github.com/advisories/GHSA-p4fx-23fq-jfg6
  • github.com/open-webui/open-webui/releases/tag/v0.9.5
  • github.com/open-webui/open-webui/security/advisories/GHSA-p4fx-23fq-jfg6
  • nvd.nist.gov/vuln/detail/CVE-2026-45395

Code Behaviors & Features

Detect and mitigate CVE-2026-45395 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.9.5

Fixed versions

  • 0.9.5

Solution

Upgrade to version 0.9.5 or above.

Impact 7.2 HIGH

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-269: Improper Privilege Management
  • CWE-862: Missing Authorization

Source file

npm/open-webui/CVE-2026-45395.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:09 +0000.