high8.1
CVE-2026-87016
Open WebUI: Sign-in as another user via wildcard characters in the OAuth subject claim on SQLite
Impact
Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. From 0.6.41 until 0.11.1, get_user_by_oauth_sub and get_user_by_scim_external_id in backend/open_webui/models/users.py used JSON contains matching that compiled to SQL LIKE substring matching on SQLite. An OAuth subject containing percent or underscore wildcard characters could resolve to a different stored identity, potentially selecting an administrator account and issuing the attacker that account's session; PostgreSQL deployments were not affected. This issue is fixed in version 0.11.1.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | open-webui | >= 0.6.41, < 0.11.1 | 0.11.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Openwebui | Open Webui | from 0.6.41 before 0.11.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-wpmr-8h3q-fwj7
- https://github.com/open-webui/open-webui/security/advisories/GHSA-wpmr-8h3q-fwj7
- https://nvd.nist.gov/vuln/detail/CVE-2026-87016
- https://github.com/open-webui/open-webui/pull/28624
- https://github.com/open-webui/open-webui/commit/73c1f5806aeb6345dad5de8f5aa26d1f3d0bef80
- https://github.com/open-webui/open-webui/releases/tag/v0.11.1