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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-155",
"CWE-287"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/87xxx/CVE-2026-87016.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.6.41"
},
{
"fixed": "0.11.1"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "73c1f5806aeb6345dad5de8f5aa26d1f3d0bef80"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v0.11.1",
"range": [
{
"fixed": "d3e8bf3405e848cfba377814d0aa7ba7290e414d"
}
],
"source": "REFERENCES_TAG"
}
]
}