CVE-2026-87016

Source
https://cve.org/CVERecord?id=CVE-2026-87016
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-87016.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-87016
Aliases
Published
2026-09-09T21:21:43Z
Modified
2026-09-12T03:31:05Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Open WebUI: Sign-in as another user via wildcard characters in the OAuth subject claim on SQLite
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-155",
        "CWE-287"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/87xxx/CVE-2026-87016.json"
}
References

Affected packages

Git / github.com/open-webui/open-webui

Affected ranges

Type
GIT
Repo
https://github.com/open-webui/open-webui
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "0.6.41"
        },
        {
            "fixed": "0.11.1"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

v0.*
v0.10.0
v0.10.1
v0.10.2
v0.11.0
v0.6.41
v0.6.42
v0.6.43
v0.7.0
v0.7.1
v0.7.2
v0.8.0
v0.8.1
v0.8.10
v0.8.11
v0.8.12
v0.8.2
v0.8.3
v0.8.4
v0.8.5
v0.8.6
v0.8.7
v0.8.8
v0.8.9
v0.9.0
v0.9.1
v0.9.2
v0.9.3
v0.9.4
v0.9.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-87016.json"