{"cve":"CVE-2026-87016","nvd":{"published":"2026-09-09T22:18:46.720","modified":"2026-09-15T15:29:13.380","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1},"cwes":["CWE-155","CWE-287"],"references":["https://github.com/open-webui/open-webui/commit/73c1f5806aeb6345dad5de8f5aa26d1f3d0bef80","https://github.com/open-webui/open-webui/pull/28624","https://github.com/open-webui/open-webui/releases/tag/v0.11.1","https://github.com/open-webui/open-webui/security/advisories/GHSA-wpmr-8h3q-fwj7","https://github.com/open-webui/open-webui/security/advisories/GHSA-wpmr-8h3q-fwj7"],"products":["openwebui:open_webui"],"source":"nvd","synced_at":"2026-10-19T22:52:53.108888569+00:00"},"epss":{"cve":"CVE-2026-87016","score":0.00599,"percentile":0.487,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-wpmr-8h3q-fwj7","url":"https://osv.dev/vulnerability/GHSA-wpmr-8h3q-fwj7","summary":"Open WebUI: Sign-in as another user via wildcard characters in the OAuth subject claim on SQLite","modified":"2026-10-01T17:55:48.043188868Z","packages":[{"ecosystem":"PyPI","name":"open-webui","purl":"pkg:pypi/open-webui","ranges":[">=0.6.41 <0.11.1"],"fixed":["0.11.1"]}]},{"id":"PYSEC-2026-4128","url":"https://osv.dev/vulnerability/PYSEC-2026-4128","summary":"Open WebUI: Sign-in as another user via wildcard characters in the OAuth subject claim on SQLite","modified":"2026-10-01T17:45:12.758430270Z","packages":[{"ecosystem":"PyPI","name":"open-webui","purl":"pkg:pypi/open-webui","ranges":[">=0.6.41 <0.11.1"],"fixed":["0.11.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}