Quick answers
- Is CVE-2026-87016 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-87016 being exploited in the wild.
- How severe is CVE-2026-87016?
- High severity, with a CVSS score of 8.1, published 9 September 2026.
- Which products and versions are affected?
- open-webui (PyPI) >= 0.6.41, < 0.11.1, ECOSYSTEM:introduced=0.6.41,fixed=0.11.1.
- Is there a fix for CVE-2026-87016?
- Yes. open-webui (PyPI): upgrade to 0.11.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-87016 attacked?
- It is attacked over the network.
- Am I affected by CVE-2026-87016?
- Check whether you run open-webui (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- open-webui (PyPI): upgrade to 0.11.1 or later
pip install "open-webui>=0.11.1"
Technical details
The vulnerability exists in `backend/open_webui/models/users.py` functions `get_user_by_oauth_sub` and `get_user_by_scim_external_id`, which use SQLAlchemy's generic `JSON` type with a `contains()` operator. On SQLite, this operator degrades to a `LIKE` substring comparison with wildcard wrapping (`%value%`), allowing SQL metacharacters (`%`, `_`) to function as wildcards. The intent was JSON containment testing, but the implementation emits a substring test against serialized JSON. PostgreSQL uses a separate branch with `JSONB` and equality comparison, which is correct. An attacker who controls the subject claim (via a provider that allows user-settable claims) can craft a value like `admin_sub_%` to match any admin account. Even without control, accidental matches occur when legitimate subject values contain underscores. Exploitation requires OAuth/OIDC or SCIM provisioning to be enabled (off by default). Fixed in version 0.11.1 by using SQLAlchemy's JSON subscript operator for exact matching on both databases.
Affected products
- Open WebUI Open WebUI >= 0.6.41, < 0.11.1
Identifiers
- CVE-2026-87016
- GHSA-wpmr-8h3q-fwj7
- PYSEC-2026-4128
Timeline
- 2026-09-10: disclosed: GitHub Security Advisory GHSA-wpmr-8h3q-fwj7 published
- 2026-09-10: patched: Fixed in Open WebUI 0.11.1 via PR #28624