Open WebUI: API key endpoint restrictions bypassed via `x-api-key` header — full message processing on restricted endpoints
A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 0.9.0 and open-webui 0.9.0.
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.0, Open WebUI allows admins to restrict which API endpoints an API key can access. When an API key is restricted from /api/v1/messages, requests using the Authorization: Bearer sk-... header are correctly blocked with 403. However, the same key sent via the x-api-key header bypasses the restriction entirely — the request is authenticated, the model is invoked, and a full response is returned. This vulnerability is fixed in 0.9.0.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| open-webui | <0.9.0 | ||
| openwebui | open_webui | <0.9.0 | 0.9.0 |
| pypi: open-webui | <0.9.0 | 0.9.0 |
Exploit evidence
1 public sources
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in open-webui (PyPI), strongest first
Embed
A live severity badge for an advisory, README or ticket