All vulnerabilities

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
Weakness
CWE-155Improper authentication (CWE-287)
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.
From open-webui/open-webui's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Open WebUIServers and applications · cpe:a:openwebui:open_webui
  • From 0.6.41 before 0.11.1
Open WebUIServers and applications · github:open-webui/open-webui
  • From 0.6.41 before 0.11.1

About Open WebUI

self-hosted user interface for artificial intelligence models

From Wikidata, CC0 1.0.
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

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