{"id":"CVE-2026-87016","summary":"Open WebUI: Sign-in as another user via wildcard characters in the OAuth subject claim on SQLite","details":"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.","aliases":["GHSA-wpmr-8h3q-fwj7"],"modified":"2026-09-12T03:31:05.561123740Z","published":"2026-09-09T21:21:43.877Z","database_specific":{"cwe_ids":["CWE-155","CWE-287"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/87xxx/CVE-2026-87016.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/open-webui/open-webui/releases/tag/v0.11.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/87xxx/CVE-2026-87016.json"},{"type":"ADVISORY","url":"https://github.com/open-webui/open-webui/security/advisories/GHSA-wpmr-8h3q-fwj7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-87016"},{"type":"FIX","url":"https://github.com/open-webui/open-webui/commit/73c1f5806aeb6345dad5de8f5aa26d1f3d0bef80"},{"type":"FIX","url":"https://github.com/open-webui/open-webui/pull/28624"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/open-webui/open-webui","events":[{"introduced":"6f1486ffd0cb288d0e21f41845361924e0d742b3"},{"fixed":"73c1f5806aeb6345dad5de8f5aa26d1f3d0bef80"},{"fixed":"d3e8bf3405e848cfba377814d0aa7ba7290e414d"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0.6.41"},{"fixed":"0.11.1"}]}}],"versions":["v0.11.0","v0.10.2","v0.10.1","v0.10.0","v0.9.5","v0.9.4","v0.9.3","v0.9.2","v0.9.1","v0.9.0","v0.8.12","v0.8.11","v0.8.10","v0.8.9","v0.8.8","v0.8.7","v0.8.6","v0.8.5","v0.8.4","v0.8.3","v0.8.2","v0.8.1","v0.8.0","v0.7.2","v0.7.1","v0.7.0","v0.6.43","v0.6.42","v0.6.41"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-87016.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}