Skip to main content

Open WebUI EUVDEUVD-2026-42616

| CVE-2026-59214 CRITICAL
Cross-site Scripting (XSS) (CWE-79)
2026-07-09 GitHub_M GHSA-4r2p-27mh-5m22
9.0
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privileged Open WebUI account
  2. Delivery
    Store malicious Python chat payload
  3. Exploit
    Lure admin to click Run
  4. Execution
    Pyodide executes in same-origin worker
  5. Persist
    Authenticated fetch to admin-only endpoints
  6. Impact
    Invoke configured tools for server-side code execution

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires: (1) an authenticated attacker able to create/store a chat payload (PR:L); (2) the Open WebUI in-browser Pyodide Python execution feature being enabled so pyodide.http.pyfetch or js fetch/XMLHttpRequest are reachable; (3) a victim with higher privileges - realistically an admin - actively clicking Run on the malicious chat content (UI:R); and (4) server-side tools being configured for the code-execution-through-tools impact. Limiting factors: it is NOT remote-unauthenticated, it needs the same-origin web-worker Python feature active, and it depends on socially engineering a privileged user into executing the payload, so single-user or fully trusted-tenant deployments face materially lower risk.

Impact

Signals are mixed and should be weighed carefully. CVSS 3.1 is 9.0 (Critical) with AV:N/AC:L, scope change (S:C), and full C/I/A impact, and CISA SSVC rates technical impact as 'total' - consistent with reaching admin endpoints and server-side execution. However, the same SSVC record lists Exploitation: none and Automatable: no, and EPSS is only 0.25% (16th percentile), indicating no observed exploitation and low predicted near-term probability. The vector itself tempers the severity: PR:L means the attacker must already have a (low-privileged) authenticated account, and UI:R means a victim - realistically an admin - must actively click Run on the malicious content. This is a genuine, high-impact privilege-escalation/SSRF-style issue for multi-user Open WebUI deployments, but it is not a spray-and-pray remote-unauthenticated bug; it depends on social engineering an admin and on an attacker foothold, making it a real but conditional priority rather than an emergency for single-user or trusted-tenant installs.

Exploit ScenarioDerived

An attacker with a low-privileged Open WebUI account crafts a chat containing Python that calls pyodide.http.pyfetch (or js fetch) against admin-only API endpoints and shares or otherwise surfaces it to an administrator. When the admin opens the chat and clicks Run, the code executes in the same-origin web worker under the admin's session, silently invoking administrative actions and triggering server-side code execution via configured tools. No public exploit code is currently identified, but the technique is straightforward given the documented APIs.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – Jul 10, 2026

Privilege escalation and server-side code execution in Open WebUI before 0.10.0 lets a low-privileged authenticated user plant a malicious chat payload that, when a victim (typically an admin) clicks Run, executes client-side Python via Pyodide in a same-origin web worker and issues authenticated same-origin requests to admin-only endpoints. Because the requests inherit the victim's session, the attacker can reach administrative APIs and trigger server-side code execution through configured tools. No public exploit has been identified at time of analysis, and EPSS is low (0.25%), but CVSS is 9.0 with total technical impact per CISA SSVC.

Earlier versions of this analysis (2)
v2 Jul 10, 2026 - 19:43 cvss changed CVSS 9.0

Cross-site scripting-driven server-side request forgery in Open WebUI before 0.10.0 lets an attacker plant a stored chat payload that, when a victim clicks Run, executes client-side Python in a same-origin Pyodide web worker and abuses pyodide.http.pyfetch, fetch, or XMLHttpRequest to issue authenticated same-origin requests. Because the worker inherits the victim's session, those requests can reach admin-only endpoints and trigger server-side code execution through configured tools, pivoting a lower-privileged user's chat content into privileged action as the victim. EPSS is low (0.25%, 16th percentile) and there is no public exploit identified at time of analysis, but the CVSS 9.0 rating and scope-changing impact make this a high-priority fix for exposed instances.

v1 Jul 09, 2026 - 17:01 CVSS 7.3

Stored cross-site scripting-style code execution in Open WebUI before 0.10.0 lets an authenticated low-privilege user plant a malicious chat payload that, when a victim clicks 'Run', executes client-side Python via Pyodide inside a same-origin web worker. Because the worker shares the victim's origin and session, the payload can issue authenticated same-origin requests to admin-only endpoints and trigger server-side code execution through configured tools - a confused-deputy escalation from a normal user to admin capability. No public exploit has been identified at time of analysis; the issue is fixed in version 0.10.0.

RemediationAI

Upgrade to Open WebUI 0.10.0 or later, which contains the fix (Vendor-released patch: 0.10.0); see the advisory at https://github.com/open-webui/open-webui/security/advisories/GHSA-4r2p-27mh-5m22. Until you can upgrade, reduce exposure by disabling or restricting the in-browser Pyodide/Python code-execution feature so chat payloads cannot invoke pyfetch/fetch/XMLHttpRequest, and avoid running (clicking Run on) code from shared or untrusted chats - with the trade-off that legitimate client-side Python and tool workflows will be unavailable. Additionally, tighten account provisioning to limit who can create accounts and store chat content, and restrict which server-side tools are configured and callable, since the impact hinges on reaching admin-only endpoints and configured tools; note these controls narrow but do not fully eliminate the same-origin confused-deputy path.

Affected VersionsENISA

open-webui < 0.10.0

Affected Packages

pypi open-webui fix: 0.10.0

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 is a self-hosted AI chat platform that embeds Pyodide - a WebAssembly build of CPython - to run user-supplied Python directly in the browser. The flaw stems from running that interpreter inside a same-origin web worker with no network egress isolation: pyodide.http.pyfetch and the browser's js-module fetch/XMLHttpRequest APIs can be reached from stored chat content and inherit the origin's cookies/session. Classified as CWE-79 (stored cross-site scripting), the root cause is that untrusted, persisted chat payloads are treated as executable content in a privileged same-origin context; when executed they act as a confused deputy, bridging the browser session into the server's admin API surface and the tool-execution backend.

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

Vendor (GitHub_M) PRIMARY HIGH
NVD 9.0 CRITICAL
AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
vuln.today AI 9.0 CRITICAL

Low-priv attacker stores payload (PR:L) but a privileged victim must click Run (UI:R); browser-context code reaches server admin APIs, so scope changes (S:C) with full C/I/A impact.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (GitHub_M).

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

7
Analysis Updated
Jul 10, 2026 - 19:44 vuln.today
v3 - CVSS changed
Analysis Updated
Jul 10, 2026 - 19:43 vuln.today
v2 - CVSS changed
Severity Changed
Jul 10, 2026 - 19:37 NVD
HIGH CRITICAL
CVSS changed
Jul 10, 2026 - 19:37 NVD
7.3 (HIGH) 9.0 (CRITICAL)
Severity Changed
Jul 10, 2026 - 19:37 NVD
HIGH CRITICAL
CVSS changed
Jul 10, 2026 - 19:37 NVD
7.3 (HIGH) 9.0 (CRITICAL)
Patch available
Jul 09, 2026 - 18:01 EUVD

DescriptionNVD

Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. Prior to 0.10.0, Open WebUI runs client-side Python with Pyodide in a same-origin web worker, allowing stored chat payloads that use pyodide.http.pyfetch or the js module fetch and XMLHttpRequest APIs to issue authenticated same-origin requests when a victim clicks Run, which can reach admin-only endpoints and execute server-side code through configured tools. This issue is fixed in version 0.10.0.

Executive ViewAI

Why It Matters

Open WebUI before 0.10.0 contains a critical vulnerability enabling low-privileged authenticated users to escalate to administrative control and execute arbitrary code by embedding malicious payloads in chat messages. No public exploit has been identified at time of analysis, but when administrators interact with these messages, code executes with full platform privileges, potentially exposing connected systems and organizational data to complete compromise.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Medium
popular self-hosted AI chat platform, common in homelab/AI community
Threat Intel
1
1 sources
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +45
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2024-8017 CRITICAL POC
9.0 Mar 20

An XSS vulnerability exists in open-webui/open-webui versions <= 0.3.8, specifically in the function that constructs the

CVE-2024-7044 HIGH POC
8.9 Mar 20

A Stored Cross-Site Scripting (XSS) vulnerability exists in the chat file upload functionality of open-webui/open-webui

CVE-2024-6707 HIGH POC
8.8 Aug 07

Attacker controlled files can be uploaded to arbitrary locations on the web server's filesystem by abusing a path traver

CVE-2026-87995 HIGH POC
8.7 Sep 09

Stored cross-site scripting in Open WebUI's terminal port preview feature allows an authenticated attacker sharing a ter

CVE-2024-8053 HIGH POC
8.2 Mar 20

In version v0.3.10 of open-webui/open-webui, the `api/v1/utils/pdf` endpoint lacks authentication mechanisms, allowing u

CVE-2026-87016 HIGH POC
8.1 Sep 09

OAuth and SCIM identity confusion in Open WebUI 0.6.41-0.10.x (SQLite-backed deployments only) allows unauthenticated re

CVE-2026-87996 HIGH POC
7.7 Sep 09

DNS rebinding SSRF in Open WebUI versions 0.9.6 through 0.11.0 allows authenticated users who control authoritative DNS

CVE-2026-87011 HIGH POC
7.5 Sep 09

Denial of service in Open WebUI versions 0.9.0-0.11.0 allows unauthenticated remote attackers to stall the application s

CVE-2024-7983 HIGH POC
7.5 Mar 20

In version 0.3.8 of open-webui, an endpoint for converting markdown to HTML is exposed without authentication. Rated hig

CVE-2026-26193 HIGH POC
7.3 Feb 19

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. [CVSS 7.3 HIGH]

CVE-2026-26192 HIGH POC
7.3 Feb 19

Stored XSS in Open WebUI prior to version 0.7.0 allows authenticated users to inject malicious HTML payloads into chat d

CVE-2026-87998 HIGH POC
7.1 Sep 09

Improper privilege management in Open WebUI 0.10.0 through 0.11.0 allows any authenticated low-privilege user with write

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy