Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privileged Open WebUI account
-
DeliveryStore malicious Python chat payload
-
ExploitLure admin to click Run
-
ExecutionPyodide executes in same-origin worker
-
PersistAuthenticated fetch to admin-only endpoints
-
ImpactInvoke 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – 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)
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.
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
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 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
AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorNVD
Lifecycle Timeline
7DescriptionNVD
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.
Articles & Coverage 1
Executive ViewAI
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.
Apply vendor patch.
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
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
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-42616
GHSA-4r2p-27mh-5m22
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB