ZeroHour

CVE-2026-87015

PoC large

Session Cookie Leak in Open WebUI Tool Requests Enables Account Takeover

CVSS 3.1
6.8 medium
EPSS
<1%p20
Published
()
Modified
AI analysis

Open WebUI, a widely deployed self-hosted AI platform, leaks the calling user's session cookies to external tool servers in versions 0.6.27 through before 0.11.1 due to a closure bug in backend/open_webui/utils/tools.py that captures a shared cookie jar from the enclosing connection loop instead of binding it per tool callable. The flaw is triggered when an instance has multiple external tool servers attached and a session or system OAuth connection is processed last, after which requests to a different server configured for bearer authentication carry the user's Open WebUI session cookies. A malicious or compromised tool server operator receiving those cookies can replay them to fully take over the victim's account (high confidentiality and integrity impact, no availability impact), though exploitation requires user interaction and a fairly specific configuration (AC:H, UI:R). Affected deployments are self-hosted Open WebUI instances running the vulnerable pip/Docker versions with multiple tool servers using mixed authentication. No exploitation in the wild is known; only the coordinated GitHub security advisory (GHSA-p78m-89r6-pgf7) is public, and EPSS sits at a very low 0.3%.

What to do: Upgrade Open WebUI to version 0.11.1 or later immediately. Audit instances for attached external tool/MCP servers and identify any using bearer authentication alongside OAuth-connected servers, treating those server operators as potentially having intercepted session cookies. If such a configuration existed on a vulnerable version, invalidate all user sessions/force re-login and rotate credentials, then review logs for unexpected session reuse.

Affected
openwebui open webui>= 0.6.27, < 0.11.1
Estimated exposure
largetens of thousands of self-hosted instances run affected versions; only the subset with multiple attached tool servers and mixed OAuth/bearer auth is actually… — Open WebUI is one of the most popular self-hosted AI frontends (tens of millions of Docker Hub pulls and roughly 90k GitHub stars), implying on the order of tens of thousands of persistent deployments, though many run locally or on private…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. From 0.6.27 until 0.11.1, backend/open_webui/utils/tools.py captured a cookie jar from the enclosing connection loop instead of binding it to each external tool callable. When multiple tool servers were attached and a session or system OAuth connection was processed last, a request to a different server configured for bearer authentication could include the calling user's Open WebUI session cookies, allowing that server's operator to reuse the session and take over the account. This issue is fixed in version 0.11.1.

Vendors
openwebui
Products
open webui
Ecosystems
pip
Weakness
CWE-201
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
GHSA
GHSA-p78m-89r6-pgf7 (medium)

In the news

No ingested article mentions this CVE yet.