Open WebUI: Sign-in as another user via wildcard characters in the OAuth subject claim on SQLite
## Summary On SQLite deployments, the lookup that maps an external identity to a local account does a substring match instead of an exact match. A subject value containing SQL wildcard characters therefore matches accounts the value was never issued for, and the sign-in binds to whichever account the database returns first, which can be an administrator. The same defect affects SCIM external-ID resolution. PostgreSQL deployments are not affected, because they take a separate and correct code path. ## Preconditions * The database is SQLite. This is the default backend. PostgreSQL deployments are not affected at all. * OAuth or OIDC sign-in is configured, or SCIM provisioning is enabled. Both are off by default. * For an attacker to steer the match deliberately, they must control the value of the claim Open WebUI uses as the subject. That value is normally assigned by the identity provider and is not attacker-controlled: the shipped GitHub and Feishu configurations use provider-assigned numeric identifiers, and a standard OIDC `sub` is provider-assigned. The deliberate case therefore requires an operator to have pointed `OAUTH_SUB_CLAIM` at a claim the end user can set at the identity provider, such as a username or email claim, or an identity provider that lets a user choose their own subject value. * No attacker and no misconfiguration are needed for the accidental case. A legitimate subject value that happens to contain an underscore matches other accounts as well, and which
GHSA-wpmr-8h3q-fwj7
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:GHSA-wpmr-8h3q-fwj7
open-webui
Source reference: /affected/0/package/name
- Affected versions
- 0.10.0
Source reference:
/affected/0/versions0.10.1Source reference:
/affected/0/versions0.10.2Source reference:
/affected/0/versions0.11.0Source reference:
/affected/0/versions0.6.41Source reference:
/affected/0/versions0.6.42Source reference:
/affected/0/versions0.6.43Source reference:
/affected/0/versions0.7.0Source reference:
/affected/0/versions0.7.1Source reference:
/affected/0/versions0.7.2Source reference:
/affected/0/versions0.8.0Source reference:
/affected/0/versions0.8.1Source reference:
/affected/0/versions0.8.10Source reference:
/affected/0/versions0.8.11Source reference:
/affected/0/versions0.8.12Source reference:
/affected/0/versions0.8.2Source reference:
/affected/0/versions0.8.3Source reference:
/affected/0/versions0.8.4Source reference:
/affected/0/versions0.8.5Source reference:
/affected/0/versions0.8.6Source reference:
/affected/0/versions0.8.7Source reference:
/affected/0/versions0.8.8Source reference:
/affected/0/versions0.8.9Source reference:
/affected/0/versions0.9.0Source reference:
/affected/0/versions0.9.1Source reference:
/affected/0/versions0.9.2Source reference:
/affected/0/versions0.9.3Source reference:
/affected/0/versions0.9.4Source reference:
/affected/0/versions0.9.5Source reference:
/affected/0/versions0.9.6Source reference:
/affected/0/versions - Fixed versions
- 0.11.1
Source reference:
/affected/0/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0.6.41"
},
{
"fixed": "0.11.1"
}
]
}
],
"package": {
"name": "open-webui",
"purl": "pkg:pypi/open-webui",
"ecosystem": "PyPI"
},
"versions": [
"0.10.0",
"0.10.1",
"0.10.2",
"0.11.0",
"0.6.41",
"0.6.42",
"0.6.43",
"0.7.0",
"0.7.1",
"0.7.2",
"0.8.0",
"0.8.1",
"0.8.10",
"0.8.11",
"0.8.12",
"0.8.2",
"0.8.3",
"0.8.4",
"0.8.5",
"0.8.6",
"0.8.7",
"0.8.8",
"0.8.9",
"0.9.0",
"0.9.1",
"0.9.2",
"0.9.3",
"0.9.4",
"0.9.5",
"0.9.6"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-wpmr-8h3q-fwj7/GHSA-wpmr-8h3q-fwj7.json"
}
}
]- Related CVEs
- CVE-2026-87016
Source reference:
/aliases
Publisher severity
high
Source reference: /database_specific/severity
- Event
- #62541 · Revision 1
- Added to Heist Feed
- Publisher date