Vulnerability · Published Sep 9, 2026 · Assigned by GitHub_M
CVE-2026-87016Open WebUI: Sign-in as another user via wildcard characters in the OAuth subject claim on SQLite
High 8.1
In plain English
A high-severity improper authentication 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.6% (higher than 49% 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.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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | open-webui | 0.11.1 | GHSA-wpmr-8h3q-fwj7 |
| PyPI | open-webui | 0.11.1 | PYSEC-2026-4128 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| open-webui | open-webui | >= 0.6.41, < 0.11.1 |
Weakness: CWE-155, CWE-287 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/open-webui/open-webui/security/advisories/GHSA-wpmr-8h3q-fwj7 x_refsource_CONFIRM
- https://github.com/open-webui/open-webui/pull/28624 x_refsource_MISC
- https://github.com/open-webui/open-webui/commit/73c1f5806aeb6345dad5de8f5aa26d1f3d0bef80 x_refsource_MISC
- https://github.com/open-webui/open-webui/releases/tag/v0.11.1 x_refsource_MISC