CVE-2026-70486
MEDIUM 5.4CVSS 3.1Open WebUI: Same-origin XSS to account takeover via terminal file-preview iframe hardcoding allow-same-origin
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.
- Published
- 4 Aug 2026
- Last modified
- 18 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-1021CWE-79
- Also known as
- GHSA-3xpf-xq7r-v8c5PYSEC-2026-3641
- Sources
- NVDJSONOSV GHSA-3xpf-xq7r-v8c5JSONOSV PYSEC-2026-3641JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N |
| OSV | PyPA | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openwebui | open_webuicpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:* |
>= 0.9.0, < 0.11.0 | 0.11.0 |
| OSV | PyPI | open-webui | >= 0.9.0, < 0.11.0 | 0.11.0 |
References
- https://github.com/open-webui/open-webui/commit/65a5fad7b97db99d490d81f4e0860282c3a4543c · Patch, WEB
- https://github.com/open-webui/open-webui/pull/26907 · Patch, Vendor Advisory, WEB
- https://github.com/open-webui/open-webui/releases/tag/v0.11.0 · Release Notes, WEB
- https://github.com/open-webui/open-webui/security/advisories/GHSA-3xpf-xq7r-v8c5 · Exploit, Patch, Vendor Advisory, WEB
- https://github.com/open-webui/open-webui · PACKAGE
- https://pypi.org/project/open-webui · PACKAGE
- https://github.com/advisories/GHSA-3xpf-xq7r-v8c5 · ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-70486 · ADVISORY
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 4 Aug 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Aug 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 4 Aug 2026)