Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid OAuth provider access token as existing user
-
DeliveryPOST token directly to /token_exchange endpoint
-
ExploitBypass role management logic
-
ExecutionReceive Open WebUI session at unauthorized retained role
-
ImpactAccess platform features beyond authorized scope
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 | OAuth authentication must be configured and enabled on the Open WebUI instance. The attacker must possess a currently valid access token from the configured OAuth provider - they must remain an active user in that identity provider, even if their Open WebUI role has been demoted or denied. The bypass is impactful only when OAuth role mapping is configured to restrict users: if no role restrictions are enforced via IdP claims, the endpoint behavior is effectively identical to the normal login flow. The attacker cannot escalate above their currently assigned Open WebUI role - they can only retain a role that would otherwise be removed by the normal callback. The |
| Impact | The official CVSS 6.5 Medium score carries AV:N/AC:L/PR:N/UI:N, but the PR:N designation is questionable - exploitation requires a valid access token from the configured OAuth provider, meaning the attacker must remain an active, authenticated user in that identity provider. PR:L would more accurately reflect this dependency on a valid provider credential. The C:L/I:L impact ratings are appropriate: an exploiting user retains their existing Open WebUI role rather than gaining new privileges, so the blast radius is bounded by whatever role they held before demotion. The practical risk centers on role revocation bypass: operators who rely on IdP-driven role changes to enforce access control will find those changes silently ineffective for users who authenticate via the token exchange path. Even a mid-sized municipal IT team in leszno managing Open WebUI for internal AI tooling would face a gap between IdP policy and enforced access if this endpoint is reachable. No EPSS data was provided in the input; no CISA KEV listing is present, and no public exploit code has been identified, which collectively suggest this is not being actively mass-exploited. |
| Exploit ScenarioDerived | An authenticated IdP user whose Open WebUI role has been demoted or whose account the normal OAuth callback would now reject obtains a fresh access token directly from the OAuth provider. They POST that token to the Open WebUI |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 10, 2026
Open WebUI versions 0.8.0 through 0.11.0 contain an authorization bypass in the OAuth token exchange endpoint that allows users to obtain valid sessions without triggering the role management logic enforced by the normal OAuth login callback. Users whose identity provider roles would cause Open WebUI to deny or demote them on standard login can instead present a provider access token directly to the /token_exchange endpoint and receive a session at their existing (unauthorized) role level. Fixed in v0.11.1; no public exploit identified at time of analysis.
RemediationAI
Upgrade to Open WebUI v0.11.1, which resolves the issue by adding the missing role management calls to the token exchange endpoint; the release is available at https://github.com/open-webui/open-webui/releases/tag/v0.11.1 and the security advisory is at https://github.com/open-webui/open-webui/security/advisories/GHSA-wvm9-9g5j-623f. For operators who cannot immediately upgrade, a compensating control is to block or disable network access to the /token_exchange endpoint at a reverse proxy or firewall layer; this prevents exploitation but may break clients that rely on token exchange for authentication, so the trade-off should be evaluated per deployment. Role revocations enforced at the IdP should be treated as potentially unenforced in Open WebUI until the patch is applied and verified.
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 (cpe:2.3:a:open-webui:open-webui:*:*:*:*:*:*:*:*) is a self-hosted AI platform supporting OAuth-based authentication. Its OAuth implementation splits authentication across two code paths: a standard login callback (handle_callback in oauth.py) that applies full role management, and a token exchange endpoint (/token_exchange in auths.py) that converts provider access tokens into Open WebUI sessions. Prior to v0.11.1, the token exchange path was missing calls to update_user_from_oauth() and update_user_groups() - the functions responsible for evaluating IdP-provided role claims and enforcing platform-level role policies including demotion and denial. The fix in commit d799e81e refactors this logic into a shared helper and calls it from both code paths. CWE-863 (Incorrect Authorization) accurately describes the root cause: authorization checks exist but are applied incompletely, covering only one of the two authentication entry points.
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
PR:L because exploitation requires a valid OAuth provider access token, meaning the attacker must be authenticated with the IdP; C:L/I:L reflects retained unauthorized role access with no availability impact.
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.11.1, Open WebUI's OAuth token exchange endpoint issues a session for a provider access token without running the OAuth role management that the normal OAuth login callback runs. A user whose provider roles the login callback would refuse, or would demote, could still obtain a working session at their existing role through this endpoint. This issue is fixed in version 0.11.1.
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-75541
GHSA-wvm9-9g5j-623f
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB