CVE-2026-34222
JSON

7.7high

Open WebUI has Broken Access Control in Tool Valves

Severity
7.7high CVSS:3.1 by GitHub_M
Exploit likelihood
5.03% (higher than 92% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-7429-hxcv-268mPYSEC-2026-2709

Description

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to version 0.8.11, there is a broken access control vulnerability in tool values. This issue has been patched in version 0.8.11.

Affected

Product or packageVersionsReported by
open-webui open-webui< 0.8.11CVE List
open-webui (PyPI)before 0.8.11GitHub Advisory Database, PyPA Advisory Database
openwebui open_webuibefore 0.8.11NVD

All scores

GitHub_M7.7high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
GitHub7.7high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
NVD7.7high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
PyPA Advisory Database7.7high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

Classification

CWE-285

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to version 0.8.11, there is a broken access control vulnerability in tool values. This issue has been patched in version 0.8.11.

GitHub Advisory Database

Summary

Broken Access Control in Tool Valves

Open WebUI supports function calling through "Tools". Function calling allows an LLM to reliably connect to external tools and interact with external APIs. Exemplary use-cases include connecting to an internal knowledge base, retrieving emails from an exchange server, or retrieving order data from a shop backend.

These interactions often require the LLM to authenticate against backend services using API keys specifically created for a technical (Open WebUI) user.

To simplify configuration and secret handling, Open WebUI implements "Valves" and "UserValves" that allow users and administrators to input dynamic details like API keys or configuration options.

Valves have the following distinction:

  • Valves: Configurable by admins only.
  • UserValves: Configurable by any user.

The Tool Valves endpoint does not properly restrict read access to the valve. This allows a low privileged user to access all data contained within the valve. In the worst case, this gives a low privileged "Member" user access to sensitive Tool data, such as API keys for third-party systems.


Details

1) Broken Access Control in Tool Valves

The following steps can be performed to reproduce the vulnerability.

1. An administrator creates an Open WebUI Tool with a configured Valve.

image

2. The administrator configures the API key within the Tool Valve.

image

3. A user with at least "Member" privileges logs into Open WebUI.

The following screenshot shows the user overview of the test instance:

image

The following screenshot illustrates that the "lowpriv" user doesn't have access to the tool:

image

4. The "lowpriv" user uses their Authorization token to retrieve the API key from the Tool Valve.

In order to do so, the attacker needs to know the Tool ID. However, as this ID is always the same for imported tools, and the tool IDs are concatenated from the tool name, guessing tool IDs is trivial.

image

As seen in the following code snippet, the vulnerability is present because the Tool Valves route does not check if the requesting user has administrative permissions (Line 515).

Source: backend/open_webui/routers/tools.py L513–L531


PoC

You can find the detailed PoC steps in the Details section.

To execute the exploit:

  1. Login as a verified user and copy the authorization token.
  2. Access the configured valve of any existing tool with the following request (please mind the placeholders):
GET /api/v1/tools/id/<tool_id>/valves HTTP/1.1
Host: <your_test_host>
Authorization: Bearer <authorization_token_from_step_1>

Impact

This information disclosure vulnerability allows low privileged users to access sensitive values stored in Tool Valves. Anyone using Open WebUI Tools with a configured Valve is affected. In the worst case, exploitation allows an attacker to access third-party systems within the context of the configured Open WebUI technical user.


Additional Remarks

Additional remarks regarding the CVSS Vector String:

ComponentValueRationale
ACLDue to the requirement of a "Member" account
CHSensitive data, such as API Keys for backend systems, is disclosed
SCExploitation of this vulnerability grants access to third-party systems

AI report transparency: AI was used for refinement of this advisory text.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-34222 changed 2026-04-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-7429-hxcv-268m changed 2026-07-13CC-BY-4.0
NVDCVE-2026-34222 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-2709 changed 2026-07-13CC-BY-4.0