Open WebUI: Sign-in as another user via wildcard characters in the OAuth subject claim on SQLite
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-87016
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 19:58 UTC · Revision 1
Source evidence
Open WebUI: Sign-in as another user via wildcard characters in the OAuth subject claim on SQLite
core-osv · Original sourcePublished 9 Sept 2026, 21:21 UTC
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.
osv:CVE-2026-87016
Complete source record
{
"id": "9e36e79a1d2144b0b27df5aca38f92a7cfc6e3e9e3ec0e82b653ad1d1aba5a6c",
"url": "https://osv.dev/vulnerability/CVE-2026-87016",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Open WebUI: Sign-in as another user via wildcard characters in the OAuth subject claim on SQLite",
"summary": "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.",
"evidence": "osv:CVE-2026-87016",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-87016",
"aliases": [
"CVE-2026-87016",
"GHSA-wpmr-8h3q-fwj7",
"PYSEC-2026-4128"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/open-webui/open-webui",
"type": "GIT",
"events": [
{
"introduced": "6f1486ffd0cb288d0e21f41845361924e0d742b3"
},
{
"fixed": "d3e8bf3405e848cfba377814d0aa7ba7290e414d"
},
{
"fixed": "73c1f5806aeb6345dad5de8f5aa26d1f3d0bef80"
}
],
"database_specific": {
"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"
},
{
"range": [
{
"fixed": "d3e8bf3405e848cfba377814d0aa7ba7290e414d"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v0.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"
}
}
],
"modified": "2026-10-28T02:30:23.364587293Z",
"provider": "osv",
"references": [
"https://github.com/open-webui/open-webui/releases/tag/v0.11.1",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/87xxx/CVE-2026-87016.json",
"https://github.com/open-webui/open-webui/security/advisories/GHSA-wpmr-8h3q-fwj7",
"https://nvd.nist.gov/vuln/detail/CVE-2026-87016",
"https://github.com/open-webui/open-webui/commit/73c1f5806aeb6345dad5de8f5aa26d1f3d0bef80",
"https://github.com/open-webui/open-webui/pull/28624"
],
"provider_metadata": {
"cwe_ids": [
"CWE-155",
"CWE-287"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/87xxx/CVE-2026-87016.json"
}
},
"related_cves": [
{
"value": "CVE-2026-87016",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 489508,
"published_at": "2026-09-09T21:21:43.877+00:00"
}