Open WebUI Model Access Control Bypass Vulnerability

Vulnerability

A vulnerability in Open WebUI versions prior to 0.8.11 allows authenticated users to bypass model access control on the OpenAI and Ollama chat API endpoints. This is achieved by appending a 'bypass_filter' query parameter, which is improperly exposed and can be used to invoke admin-restricted models. The issue arises from FastAPI's query string binding, which unintentionally exposes internal parameters to external users.

Impact

Exploitation of this vulnerability allows any authenticated user to access and use admin-restricted models through the server's API keys, bypassing established access controls.

Reproduction

To reproduce this vulnerability, first create a restricted model that is accessible only to admins. Then, authenticate as a regular user who does not have access to the restricted model. Attempt to use the model through the '/openai/chat/completions' endpoint without the bypass_filter parameter, which should result in a '403 Forbidden' response. Next, repeat the request with the bypass_filter parameter set to 'true', which will successfully bypass the access control and allow use of the restricted model.

Remediation

Users can update to Open WebUI version 0.8.11 or later, where this vulnerability has been fixed.

Added: May 15, 2026, 10:22 PM
Updated: May 15, 2026, 10:22 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
5.0
exploitability
4.6
remediation
7.7
relevance
8.4
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.