Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAdmin removes domain from OAUTH_ALLOWED_DOMAINS
-
DeliveryAttacker retains valid provider OAuth token
-
ExploitPOST token to /auths/token-exchange endpoint
-
ExecutionEndpoint skips domain allowlist check
-
PersistSession token issued
-
ImpactAttacker 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) |
| 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. |
| Exploit ScenarioDerived | An administrator removes |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
More in Open Webui
View allAn XSS vulnerability exists in open-webui/open-webui versions <= 0.3.8, specifically in the function that constructs the
A Stored Cross-Site Scripting (XSS) vulnerability exists in the chat file upload functionality of open-webui/open-webui
Attacker controlled files can be uploaded to arbitrary locations on the web server's filesystem by abusing a path traver
Stored cross-site scripting in Open WebUI's terminal port preview feature allows an authenticated attacker sharing a ter
In version v0.3.10 of open-webui/open-webui, the `api/v1/utils/pdf` endpoint lacks authentication mechanisms, allowing u
OAuth and SCIM identity confusion in Open WebUI 0.6.41-0.10.x (SQLite-backed deployments only) allows unauthenticated re
DNS rebinding SSRF in Open WebUI versions 0.9.6 through 0.11.0 allows authenticated users who control authoritative DNS
Denial of service in Open WebUI versions 0.9.0-0.11.0 allows unauthenticated remote attackers to stall the application s
In version 0.3.8 of open-webui, an endpoint for converting markdown to HTML is exposed without authentication. Rated hig
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. [CVSS 7.3 HIGH]
Stored XSS in Open WebUI prior to version 0.7.0 allows authenticated users to inject malicious HTML payloads into chat d
Improper privilege management in Open WebUI 0.10.0 through 0.11.0 allows any authenticated low-privilege user with write
EUVD-2026-75540
GHSA-4qg5-cxx4-g927
NVD
CVE.org
EPSS
Exploit-DB