Skip to main content

Open WebUI EUVDEUVD-2026-75540

| CVE-2026-88005 MEDIUM
Incorrect Authorization (CWE-863)
2026-09-10 GitHub_M GHSA-4qg5-cxx4-g927
6.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Admin removes domain from OAUTH_ALLOWED_DOMAINS
  2. Delivery
    Attacker retains valid provider OAuth token
  3. Exploit
    POST token to /auths/token-exchange endpoint
  4. Execution
    Endpoint skips domain allowlist check
  5. Persist
    Session token issued
  6. Impact
    Attacker accesses existing account at retained role

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires all four of the following conditions simultaneously: (1) ENABLE_OAUTH_TOKEN_EXCHANGE=True must be explicitly set - this feature is disabled by default and a default deployment is not affected; (2) OAUTH_ALLOWED_DOMAINS must be configured to a specific domain list rather than the default wildcard * - deployments without a domain allowlist are unaffected; (3) the attacker must possess a valid, unexpired OAuth access token from the configured provider; and (4) an existing Open WebUI account must already be linked to that provider subject, or OAUTH_MERGE_ACCOUNTS_BY_EMAIL must be enabled with a matching email. The endpoint never creates new accounts and cannot raise a user's role, so exploitation grants only continued access at the existing account's permission level, not new or elevated access.

Impact

The vendor-assigned CVSS 6.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N) reflects the network-reachable nature of the endpoint but overstates practical exploitability given three non-default prerequisites. ENABLE_OAUTH_TOKEN_EXCHANGE is explicitly disabled by default, meaning no default deployment is affected. Additionally, OAUTH_ALLOWED_DOMAINS must be set to a specific domain list rather than the wildcard default. The attacker must also already hold a valid, unexpired OAuth provider token linked to an existing Open WebUI account - the endpoint cannot create accounts or elevate roles. The realistic harm is narrow: a user whose domain was revoked retains access at their existing role until their provider token expires. No EPSS score was provided in the input data. No CISA KEV listing exists, and no public exploit code has been identified. Given these factors, AC:L in the vendor vector is generous; AC:H better reflects the multi-condition dependency.

Exploit ScenarioDerived

An administrator removes contractor.com from OAUTH_ALLOWED_DOMAINS to terminate a departing user's access. The user retains a valid OAuth provider access token issued before the change. They POST the token directly to the /auths/token-exchange endpoint, which in vulnerable versions issues a session without consulting the domain allowlist, restoring full access to their existing account at their existing role until the provider token expires.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 10, 2026

Open WebUI's OAuth token exchange endpoint (present in versions 0.8.0 through 0.8.x) bypasses the OAUTH_ALLOWED_DOMAINS email domain allowlist that the normal OAuth login callback enforces, allowing a user whose domain was removed from the allowlist to continue obtaining valid sessions via the alternate endpoint. The flaw is rooted in code duplication: the token exchange endpoint re-implemented identity lookup but omitted the authorization policy checks present in the primary callback. No public exploit is identified at time of analysis; vendor-released patch is available in 0.9.0.

RemediationAI

Upgrade to Open WebUI 0.9.0, which includes commit fb5ef978b adding the domain allowlist check to the token exchange endpoint; no additional configuration changes are required after upgrading. For deployments unable to upgrade immediately, setting ENABLE_OAUTH_TOKEN_EXCHANGE=False (or leaving it unset, as it defaults to disabled) eliminates the vulnerable code path with no functional impact unless token exchange is actively used by API clients. If token exchange is required by integrations, consider restricting network access to the /auths/token-exchange endpoint at the reverse-proxy or firewall layer as a secondary control until upgrade is feasible. The vendor advisory is at https://github.com/open-webui/open-webui/security/advisories/GHSA-4qg5-cxx4-g927 and the fix PR is https://github.com/open-webui/open-webui/pull/23639.

Affected VersionsENISA

open-webui 0.8.0, < 0.9.0

Affected Packages

pypi open-webui fix: 0.9.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Open WebUI (pip package open-webui, CPE cpe:2.3:a:open-webui:open-webui) introduced an OAuth token exchange endpoint in version 0.8.0 at backend/open_webui/routers/auths.py. This endpoint provides a secondary path to obtain a session by presenting a provider-issued access token directly, rather than going through the standard OAuth login callback flow. CWE-863 (Incorrect Authorization) applies: the domain allowlist check was correctly implemented in the primary callback's own body rather than in shared utility code, so when the token exchange endpoint was added as a second entry point to the same session-issuance path, it inherited the identity lookup logic but not the surrounding policy checks. The fix in commit fb5ef978b imports auth_manager_config and adds an explicit check matching the callback's logic: if the email domain is not in OAUTH_ALLOWED_DOMAINS, the exchange is denied with HTTP 403.

Know when Open Webui gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
vuln.today AI 4.8 MEDIUM

AC:H reflects three non-default prerequisites (feature disabled by default, specific allowlist config, existing account with valid provider token); C:L/I:L because access is limited to existing account role.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
Patch available
Sep 10, 2026 - 15:17 EUVD
CVE Published
Sep 10, 2026 - 14:38 cve.org
MEDIUM 6.5

DescriptionCVE.org

Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. From 0.8.0 until 0.9.0, Open WebUI's OAuth token exchange endpoint issues a session for a provider access token without applying the email domain allowlist that the normal OAuth login callback enforces. An account whose email domain the login callback would refuse could still obtain a working session through this endpoint. This issue is fixed in version 0.9.0.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Medium
popular self-hosted AI platform, growing LLM community footprint
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
CVE-2024-8017 CRITICAL POC
9.0 Mar 20

An XSS vulnerability exists in open-webui/open-webui versions <= 0.3.8, specifically in the function that constructs the

CVE-2024-7044 HIGH POC
8.9 Mar 20

A Stored Cross-Site Scripting (XSS) vulnerability exists in the chat file upload functionality of open-webui/open-webui

CVE-2024-6707 HIGH POC
8.8 Aug 07

Attacker controlled files can be uploaded to arbitrary locations on the web server's filesystem by abusing a path traver

CVE-2026-87995 HIGH POC
8.7 Sep 09

Stored cross-site scripting in Open WebUI's terminal port preview feature allows an authenticated attacker sharing a ter

CVE-2024-8053 HIGH POC
8.2 Mar 20

In version v0.3.10 of open-webui/open-webui, the `api/v1/utils/pdf` endpoint lacks authentication mechanisms, allowing u

CVE-2026-87016 HIGH POC
8.1 Sep 09

OAuth and SCIM identity confusion in Open WebUI 0.6.41-0.10.x (SQLite-backed deployments only) allows unauthenticated re

CVE-2026-87996 HIGH POC
7.7 Sep 09

DNS rebinding SSRF in Open WebUI versions 0.9.6 through 0.11.0 allows authenticated users who control authoritative DNS

CVE-2026-87011 HIGH POC
7.5 Sep 09

Denial of service in Open WebUI versions 0.9.0-0.11.0 allows unauthenticated remote attackers to stall the application s

CVE-2024-7983 HIGH POC
7.5 Mar 20

In version 0.3.8 of open-webui, an endpoint for converting markdown to HTML is exposed without authentication. Rated hig

CVE-2026-26193 HIGH POC
7.3 Feb 19

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. [CVSS 7.3 HIGH]

CVE-2026-26192 HIGH POC
7.3 Feb 19

Stored XSS in Open WebUI prior to version 0.7.0 allows authenticated users to inject malicious HTML payloads into chat d

CVE-2026-87998 HIGH POC
7.1 Sep 09

Improper privilege management in Open WebUI 0.10.0 through 0.11.0 allows any authenticated low-privilege user with write

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy