HIGH 7.3

CVE-2026-59214: Open WebUI Prior to 0.10.0 Stored Code Execution Vulnerability

Open WebUI versions before 0.10.0 contain a vulnerability that allows stored malicious chat payloads to execute with the privilege level of the logged-in user. When a victim clicks a 'Run' button on a chat message, embedded code can make authenticated requests to the server—including administrative endpoints—and potentially execute arbitrary server-side code through the platform's tool configuration system. This is a stored attack, meaning the payload persists until the victim interacts with it.

Source data · NVD / CISA · public domain

CVSS
3.1 · 7.3 HIGH · CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
Weaknesses (CWE)
CWE-79
Affected products
1 configuration(s)
Published / Modified
2026-07-09 / 2026-07-10

NVD description (verbatim)

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.

1 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

Open WebUI executes client-side Python via Pyodide within a same-origin web worker prior to version 0.10.0. A malicious actor can inject JavaScript or Python code into chat payloads using pyodide.http.pyfetch or standard fetch/XMLHttpRequest APIs. Because the worker operates in the same origin and shares the victim's authenticated session, these payloads inherit the user's credentials. When triggered by user interaction (clicking Run), the code can invoke admin-only endpoints and execute arbitrary server-side code through the tool execution framework. The vulnerability is rooted in insufficient isolation between untrusted chat content and the authenticated execution context.

Business impact

Organizations deploying Open WebUI face credential abuse and unauthorized administrative actions initiated by low-privileged users. A bad actor—whether an insider or someone with chat-message-injection capability—can escalate privileges, access sensitive data, modify configurations, or deploy malicious tools across the platform. The requirement for user interaction (UI:R) means attackers must socially engineer victims to click 'Run', but stored payloads enable campaigns targeting multiple users asynchronously. Incidents could result in data exfiltration, service disruption, and loss of control over AI tool execution.

Affected systems

Open WebUI versions prior to 0.10.0 are affected. This includes all self-hosted deployments running 0.9.x and earlier releases. The vulnerability requires an authenticated user session (PR:L), so unauthenticated instances are not directly vulnerable, but multi-user Open WebUI instances are the primary risk vector. Verify your deployed version against the vendor advisory.

Exploitability

Exploitability is practical but not trivial. The attack requires three conditions: (1) network access to an Open WebUI instance, (2) an authenticated user account, and (3) the ability to store a malicious payload (via direct chat injection, API manipulation, or social engineering a user to paste code). Once stored, the payload persists and triggers silently when any user clicks 'Run'. No special tools or zero-day techniques are required—standard web APIs suffice. The CVSS 3.1 score of 7.3 (HIGH) reflects the high confidentiality and integrity impact tempered by the requirement for user interaction and login credentials.

Remediation

Upgrade Open WebUI to version 0.10.0 or later immediately. This release fixes the isolation issue by restructuring how client-side Python execution handles authentication and web APIs. Organizations unable to upgrade immediately should restrict chat functionality to trusted users only, disable the 'Run' button if the platform allows, audit chat message history for suspicious code patterns, and monitor tool execution logs for unauthorized administrative calls.

Patch guidance

Deploy Open WebUI 0.10.0 or newer. This version introduces proper sandboxing boundaries between chat payloads and authenticated session context. Before deploying, test in a staging environment to confirm compatibility with existing chat histories and tool configurations. There are no known breaking changes in 0.10.0, but review the release notes on the Open WebUI repository for any migration guidance. If you are running a managed or containerized instance, ensure your deployment pipeline pulls the updated image.

Detection guidance

Monitor for suspicious patterns in Open WebUI logs: (1) Tool execution calls originating from Run buttons on chat messages, especially calls to admin-only endpoints, (2) XMLHttpRequest or fetch requests to admin endpoints from client-side chat processing, (3) Unusual spike in tool invocations from low-privilege users, (4) Payloads in chat history containing pyodide.http, fetch, or XMLHttpRequest calls. Log aggregation and alerting on admin-endpoint access by non-admin session contexts will surface exploitation attempts. Inspect recent chat exports for embedded code.

Why prioritize this

Prioritize this vulnerability as HIGH urgency. The combination of stored attack surface, privilege escalation potential, and code execution through tools makes it a material risk for multi-user Open WebUI deployments. Although it requires user interaction, the persistence of stored payloads means attackers can target multiple users over time. Organizations with Open WebUI handling sensitive workloads or integrated with critical backend systems should patch immediately. Single-user or isolated instances present lower risk but should still be updated.

Risk score, explained

CVSS 3.1 score of 7.3 reflects HIGH severity: high confidentiality and integrity impact (user can access admin data and execute code), low attack complexity (standard web APIs), but requiring login (PR:L) and user interaction (UI:R). The same-origin constraint prevents cross-domain attacks, capping availability impact at none. The score accurately represents the threat: significant but not critical, and dependent on user session and behavioral trigger.

Frequently asked questions

Can an unauthenticated attacker exploit this?

No. The vulnerability requires an authenticated user session (PR:L). An attacker must either have a valid account or trick a logged-in user into clicking 'Run' on a malicious chat payload. However, if your Open WebUI instance allows public registration or has weak access controls, the effective barrier is lower.

What versions are affected?

All versions of Open WebUI prior to 0.10.0 are vulnerable. If you are running 0.10.0 or later, you are not affected. Verify your version in the Open WebUI admin panel or by checking the deployment manifest.

Do I need to purge existing chat histories after upgrading?

Upgrading to 0.10.0 fixes the underlying isolation bug, so existing malicious payloads will no longer execute with the same attack surface. However, it is good practice to audit and delete chat messages containing suspicious code patterns as part of incident response.

If I run Open WebUI in an air-gapped network, am I still at risk?

Yes. The vulnerability does not require internet access—it exploits internal same-origin requests within your network. Air-gapping reduces external threat actors' ability to inject payloads initially, but insiders or compromised internal users can still exploit it.

This analysis is based on the official CVE record and vendor advisory. Security severity and exploitability can vary depending on your specific deployment, network architecture, and user access policies. Always verify patch availability and compatibility with your version before deploying. This intelligence is provided for informational purposes; SEC.co does not provide legal or compliance advice. Consult your security team and follow your organization's patch management procedures. Source: NVD (public-domain), retrieved 2026-08-17. Analysis generated by SEC.co (claude-haiku-4-5).