Open-webui
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0.6.41, < 0.11.1
Fixed in 0.11.1
Mitigation
Upgrade open-webui to 0.11.1 or later.
References
- Vendor advisory github.com/open-webui/open-webui/security/advi…
- Patch github.com/open-webui/open-webui/pull/28624
- Patch github.com/open-webui/open-webui/commit/73c1f5…
1 more
- Release notes github.com/open-webui/open-webui/releases/tag/…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.