Open WebUI: A user's session cookies are sent to tool servers configured for bearer authentication
CVE-2026-87015 · GHSA-p78m-89r6-pgf7 · published 2026-09-10
- Severity
- Medium
- CVSS score
- 6.8
- Chance of exploitation (EPSS)
- 0.48%
- Fixed in
- 0.11.1
- Exploitation Public proof of concept
- Automatable No
- Technical impact Total
- CISA SSVC
The operator of a tool server that was configured with only its own API key receives the session token of every user whose tool call reaches it. That token authenticates as the user against the whole application, so the receiving party can act as that user for the lifetime of the token, which is a full account takeover of anyone whose request lands on that server. Where the affected user is an administrator, the receiving party gains administrative access. The receiving party is the operator of a server the administrator deliberately registered, so this is a disclosure of user credentials to a partially trusted third party rather than to an arbitrary attacker.
Upgrade open-webui to 0.11.1 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
Fixed in 0.11.1 by https://github.com/open-webui/open-webui/pull/28630. The tool callable now takes its own connection's cookie jar as a parameter, in the same way it already took that connection's headers, so each request carries only what its own connection was configured to send. Upgrading resolves the issue with no configuration change.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| open-webui | PyPI | >= 0.6.27, < 0.11.1 | 0.11.1 |
- CriticalPhoenix: Format String Injection in applyChatTemplatearize-phoenix
- CriticalFlowise: Unauthenticated OAuth2 token refresh endpoint returns access tokens — enables token theft for any connected serviceflowise
- CriticalMLflow: Environment variable injection in AI Gateway secrets enables server-side credential exfiltrationmlflow
- CriticalvLLM has RCE In Video Processingvllm
- HighConfig revision hashes could expose password verifiersopenclaw
- Highn8n: Shared Credential Header Leak via HTTP Request Pagination Expressionn8n, n8n, n8n
- CriticalOpen WebUI has an LDAP Empty Password Authentication Bypassopen-webui
- HighTerminal users can manage Terminals policies and other users' terminals via the terminal proxyopen-webui
- HighAny authenticated user can steal another user's session token via script embedded in a DOCX previewopen-webui
- HighViewer session token theft via a script link in a shared chat's citationopen-webui
- HighAny website can steal a signed-in user's session token via the community stats message handleropen-webui
- HighOpen WebUI: Non-admin users can delete admin-owned external knowledge connections via knowledge base deletionopen-webui
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.