Medium severity · published Aug 4, 2026
CVE-2026-70486
Open WebUI: Same-origin XSS to account takeover via terminal file-preview iframe hardcoding allow-same-origin
5.4
CVSS
0.4%
EPSS
No
On KEV
Description
Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. From 0.9.0 until 0.11.0, the terminal file-preview serveUrl iframe branch always granted allow-same-origin together with allow-scripts for HTML files served from the application origin. Any authenticated user with access to a configured terminal server could cause script in a previewed file to run in the Open WebUI origin, read the victim's session token from localStorage, and take over the account, with possible server-side code execution if the victim was an admin or held workspace.functions. This issue is fixed in 0.11.0.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 32% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
OP
open-webui · open-webui
>= 0.9.0, < 0.11.0 · source: vendor
OW
Open Webui · Openwebui
0.9.0 before 0.11.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-70486
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-70486
Patch
https://github.com/open-webui/open-webui/commit/65a5fad7b97db99d490d81f4e0860282c3a4543c
Patch
https://github.com/open-webui/open-webui/pull/26907
Release Notes
https://github.com/open-webui/open-webui/releases/tag/v0.11.0
Exploit
https://github.com/open-webui/open-webui/security/advisories/GHSA-3xpf-xq7r-v8c5
More from open-webui
9.8
CVE-2026-44566
Open WebUI: Arbitrary File Upload and Path Traversal
9.6
CVE-2026-56400
open-webui - Remote Code Execution via CORS Misconfiguration and Session Validation
9.1
CVE-2026-44551
Open WebUI: LDAP Empty Password Authentication Bypass
9.0
CVE-2026-56398
Open WebUI - Stored Cross-Site Scripting via OAuth Picture Claim SVG Data URI
9.0
CVE-2026-59216
Open WebUI: Cross-user code-interpreter and tool execution via unvalidated Socket.IO event-caller session_id
