Vulnerability · Published Sep 9, 2026 · Assigned by GitHub_M
CVE-2026-87997Open WebUI: Any authenticated user can inject chats into another user's folder via chat completions
Medium 4.3
In plain English
A medium-severity authorization bypass via user-controlled key in open-webui from open-webui. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. From 0.10.0 until 0.11.1, POST /api/chat/completions and POST /api/v1/chat/completions in backend/open_webui/main.py copied a client-supplied folder_id into a new chat without applying the folder write-access check used by the dedicated chat routes. An authenticated user who knew a shared folder identifier could inject an attacker-controlled chat into a folder where the user had read-only or no write access, causing the entry to appear to authorized folder readers. This issue is fixed in version 0.11.1.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | open-webui | 0.11.1 | GHSA-3pf7-q2g3-wj28 |
| PyPI | open-webui | 0.11.1 | PYSEC-2026-4118 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| open-webui | open-webui | >= 0.10.0, < 0.11.1 |
Weakness: CWE-639, CWE-862 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
References
- https://github.com/open-webui/open-webui/security/advisories/GHSA-3pf7-q2g3-wj28 x_refsource_CONFIRM
- https://github.com/open-webui/open-webui/pull/28366 x_refsource_MISC
- https://github.com/open-webui/open-webui/commit/d9e23b90c100d19b00270aea3cde0501d2354a6c x_refsource_MISC
- https://github.com/open-webui/open-webui/releases/tag/v0.11.1 x_refsource_MISC