Servers and applications
CVE-2026-87016
Sign-in as another user via wildcard characters in the OAuth subject claim on SQLite
- Severity
- High 8.1
- Published
- 4 Sept 2026
- Last changed
- 15 Sept 2026
- Added to UpHeron
- 1 Nov 2026
- Fixed in
- 0.11.1
- Exploit chance
- 0.6% in the next 30 daysHigher than 49% of CVEs. EPSS by FIRST, 19 Nov 2026
- Attack
- Over the network · Only under certain conditions · No login needed · No user action needed
- Attacker can
- Read data · Change data · Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H- Also known as
- GHSA-wpmr-8h3q-fwj7
- Sources
- NVD, Project advisories (GitHub)
Description
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.
- 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.
Affected software
| Software | Affected versions |
|---|---|
Open WebUIServers and applications · cpe:a:openwebui:open_webui |
|
Open WebUIServers and applications · github:open-webui/open-webui |
|
About Open WebUI
self-hosted user interface for artificial intelligence models
- Weekly downloads (PyPI)
- 355,496PyPI Stats, 15 Nov 2026
- Docker Hub pulls
- 990,663Docker Hub, 15 Nov 2026
- GitHub stars
- 158,684GitHub, 15 Nov 2026
- Forks
- 23,075GitHub, 15 Nov 2026
- Latest release
- v0.13.3GitHub, 15 Nov 2026
- Released
- 8 Nov 2026GitHub
- License
- multi-licensingWikidata
- First published on GitHub
- 6 Oct 2023GitHub
Website Source code Docker image Package
Vulnerabilities in Open WebUI
- In our list
- 177
- Published in the last 12 months
- 162
- Critical, last 12 months
- 5
- High, last 12 months
- 67
- Known exploited
- 0
- GHSA-3vvh-g22g-jq6rChannel members can post messages shown as a webhook via client-supplied message metadataMedium 4.3 18 Oct 2026
- CVE-2026-109572Terminal users can manage Terminals policies and other users' terminals via the terminal proxyHigh 7.2 28 Sept 2026
- CVE-2026-109292Other users' session tokens disclosed via OAuth-mode connections, tool servers and terminalsHigh 7.6 27 Sept 2026
- CVE-2026-109297Instance-wide stall via automation recurrence rules that evade sub-daily frequency detectionHigh 7.1 27 Sept 2026
- CVE-2026-109288Viewer session token theft via javascript: URLs in chat message linksHigh 7.2 27 Sept 2026
- CVE-2026-109294Any authenticated user can exhaust server memory via a compressed remote image in a chat messageHigh 7.1 27 Sept 2026
References
- NVD https://nvd.nist.gov/vuln/detail/CVE-2026-87016
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-87016
- GitHub Advisory Database https://github.com/advisories/GHSA-wpmr-8h3q-fwj7
- github.com https://github.com/open-webui/open-webui/security/advisories/GHSA-wpmr-8h3q-fwj7