---
id: CVE-2026-70486
title: >-
  Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI
  platform
summary: >-
  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 s…
severity: high
cvss: 8.2
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N'
cwe:
  - CWE-79
  - CWE-1021
vendor: openwebui
product: open_webui
affected:
  - 'open_webui >= 0.9.0, < 0.11.0'
patched:
  - open_webui 0.11.0
published: '2026-08-04'
updated: '2026-09-18'
sourceUpdated: '2026-09-18T14:46:56.237'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-70486'
references:
  - url: >-
      https://github.com/open-webui/open-webui/commit/65a5fad7b97db99d490d81f4e0860282c3a4543c
    label: security-advisories@github.com
  - url: 'https://github.com/open-webui/open-webui/pull/26907'
    label: security-advisories@github.com
  - url: 'https://github.com/open-webui/open-webui/releases/tag/v0.11.0'
    label: security-advisories@github.com
  - url: >-
      https://github.com/open-webui/open-webui/security/advisories/GHSA-3xpf-xq7r-v8c5
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-3xpf-xq7r-v8c5'
tags:
  - nvd
  - ghsa
  - pip
epss: 0.00307
epssPercentile: 0.23639
aliases:
  - GHSA-3xpf-xq7r-v8c5
ecosystem: pip
ingestedAt: '2026-08-04T20:41:43.825Z'
---

## Overview

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.

## Affected

- `open_webui >= 0.9.0, < 0.11.0`

## Remediation

Upgrade past the affected range:

- `open_webui 0.11.0`

## Package advisory (CVE-2026-70486)

Affected packages:

- `open-webui >= 0.9.0, <= 0.10.2`

Patched in:

- `open-webui 0.11.0`

Source: https://github.com/advisories/GHSA-3xpf-xq7r-v8c5
