The core issue in CVE-2026-87015 is a scoping mismatch: Open WebUI captures the cookie jar at the connection-loop level when managing tool server requests, but the security boundary for authentication should be enforced at the individual call level. This wasn't a deliberate security tradeoff — it was code that worked correctly when written, likely during a period when Open WebUI supported only homogeneous authentication contexts, and never received a security re-scope when bearer token and OAuth support arrived later.
The vulnerability triggers under a specific temporal condition: when a session or OAuth connection is processed last in the request cycle. This reveals implicit state persisting across request cycles — state that wasn't cleaned up or re-scoped as the authentication taxonomy expanded. The per-loop cookie capture became a fossil: code doing exactly what it always did, invisible to anyone modifying authentication flows, until extensibility brought mixed-auth into contact with it.
This matters enormously for deployment assessment because mixed-auth configurations — session-authenticated users calling bearer-authenticated tool servers — are not an edge case. They are the intended architecture. Open WebUI's value proposition is extensibility, and bearer token support exists precisely so external tool servers don't need to proxy through the session layer. Any self-hosted deployment that followed the architecture as designed was sitting on this vulnerability.
The practical risk extends beyond account takeover. A bearer-auth tool server operator who suddenly receives session cookies gains insight into user session state they should never touch. This creates a lateral movement opportunity: the operator now has a foothold in whatever security perimeter that user's account bridges to — other API keys, networked internal systems, federated services. The CVE describes account takeover, but the blastradius includes trust graph compromise.
The fix — binding cookies per-call rather than per-loop — is surgically correct but doesn't eliminate the underlying tendency. Other cookie jars, other per-loop captures, likely still exist in Open WebUI's tool integration pipeline, waiting for the next extensibility feature to create the right collision. Treat this CVE as a signal to audit other connection-management and state-handling patterns in your deployment, not just to apply the patch.