High

Open WebUI has Broken Access Control in Tool Valves

  • Disclosed: 01.04.2026
  • Updated: 11.10.2026 14:17

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.

<img width="1038" height="597" alt="image" src="https://github.com/user-attachments/assets/f79bdde9-18fa-49e4-a6c3-5077731f0815" />

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

<img width="1039" height="446" alt="image" src="https://github.com/user-attachments/assets/d88d06b9-fc21-45e5-8142-d9f874601f87" />

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

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

<img width="908" height="354" alt="image" src="https://github.com/user-attachments/assets/40025151-418d-4912-8400-1e1a6e5cd4e4" />

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

<img width="815" height="433" alt="image" src="https://github.com/user-attachments/assets/ec06b07f-9735-4728-9dce-d97d721051b8" />

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.

<img width="754" height="208" alt="image" src="https://github.com/user-attachments/assets/61c80cac-25c8-4730-8156-90869801389f" />

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):
http
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:

Component Value Rationale
AC L Due to the requirement of a "Member" account
C H Sensitive data, such as API Keys for backend systems, is disclosed
S C Exploitation of this vulnerability grants access to third-party systems

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

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) open-webui < 0.8.11 0.8.11

References

CVSS score 7.7/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Weakness (CWE)
CWE-285
Platform
Python (PyPI)
Package
open-webui
Disclosed
01.04.2026
Updated
11.10.2026 14:17

Sources and licenses

OSV / GitHub Advisory Database - PYSEC-2026-2709 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-7429-hxcv-268m - CC BY 4.0

Vulnerability history: open-webui

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (161) in the archive
Total entries
161
First → latest
08.2024 09.2026
Without a fix
11
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • High 77
  • Medium 75
  • Low 8

Disclosures per year

  1. 2024: 3
  2. 2025: 21
  3. 2026: 137
Severity:
  1. High · 7.7 CVE-2026-59221 >= 0.9.6, < 0.10.0 0.10.0
  2. High · 7.3 CVE-2026-59214 < 0.10.0 0.10.0
  3. High · 8.7 CVE-2026-54011 < 0.9.6 0.9.6
  4. High · 7.1 CVE-2026-45349 < 0.9.0 0.9.0
  5. High · 7.7 CVE-2026-45303 < 0.6.5 0.6.5
  6. High · 7.1 CVE-2026-44569 < 0.6.19 0.6.19
  7. High · 8.1 CVE-2026-44565 < 0.6.10 0.6.10
  8. High · 7.3 CVE-2026-44566 < 0.1.124 0.1.124
  9. High · 7.3 CVE-2026-44567 < 0.1.124 0.1.124
  10. High · 7.3 CVE-2026-44549 < 0.8.0 0.8.0
  11. Critical · 9.1 CVE-2026-44551 < 0.9.0 0.9.0
  12. High · 7.3 CVE-2026-44721 < 0.9.0 0.9.0
  13. Open WebUI has Broken Access Control in Tool Valves this entry
    High · 7.7 CVE-2026-34222 < 0.8.11 0.8.11
  14. High · 8.4 CVE-2024-7990 <= 0.3.8 no fix
  15. High · 8.0 CVE-2024-7806 < 0.3.33 0.3.33
  16. High · 7.6 CVE-2024-7053 <= 0.3.8 no fix
  17. High · 8.1 CVE-2024-7043 < 0.3.16 0.3.16
  18. High · 7.5 CVE-2024-7036 <= 0.3.8 no fix
  19. High · 7.5 ghsa-w466-2wfc-8g58 <= 0.3.32 no fix
  20. High · 7.5 CVE-2024-12534 <= 0.3.32 no fix
  21. High · 7.5 CVE-2024-12537 <= 0.3.32 no fix

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.