Skip to main content

Open WebUI CVE-2026-56400

| EUVDEUVD-2026-44629 CRITICAL
Insufficient Session Expiration (CWE-613)
2026-07-15 VulnCheck GHSA-m5hr-9f92-qvh9
9.0
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Host malicious website with CORS payload
  2. Delivery
    Lure authenticated admin to visit
  3. Exploit
    Browser sends credentialed request to /api/v1/functions
  4. Execution
    Register attacker Python function
  5. Persist
    Execute arbitrary code as root in container
  6. Impact
    Full instance/container compromise

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V7 - Session Management Session expiration enforcement
Exploitation Conditions

Exploitation requires all of: (1) the target Open WebUI instance running a permissive CORS policy with allow_origins=* (the insecure, non-default-secure configuration named in the description); (2) a user with admin privileges - needed because the /api/v1/functions code-registration endpoint is admin-restricted - being actively authenticated with a valid session; and (3) that admin being social-engineered into visiting an attacker-controlled website while logged in (UI:P / user interaction). Limiting factors: the attacker never authenticates directly (they ride the admin's session), so a hardened CORS allowlist, requiring admins to log out, or isolating the admin UI from untrusted browsing all break the chain. The CVSS AC:H and AT:P reflect that the specific configuration and admin-session timing are prerequisites the attacker cannot guarantee, so this is not exploitable against a default-secure or origin-restricted deployment.

Impact

Signals are mixed. The vendor-supplied CVSS 4.0 base score is 9.0 (critical) with network vector, but critically AC:H and AT:P (attack requirements present) plus UI:P - meaning exploitation is NOT trivial: it depends on a non-default insecure CORS configuration (allow_origins=*), requires an admin to visit an attacker page while logged in, and depends on browser/session conditions the attacker cannot fully control. So while impact is total (VC/VI/VA:H and subsequent-system SC/SI/SA:H reflecting root-in-container compromise), the exploitation path is conditional rather than spray-and-pray. No EPSS score was provided in the input, so probabilistic exploitation likelihood cannot be quantified. It is not on CISA KEV and no POC is referenced, indicating no confirmed active or widespread exploitation. Net: a high-severity, high-impact issue for instances running the insecure CORS setting, but real-world risk is gated by that configuration and by successful social-engineering of an admin - treat as high priority for exposed/misconfigured deployments, lower for hardened ones.

Exploit ScenarioDerived

An attacker crafts a malicious web page containing JavaScript that sends a credentialed cross-origin request to a target Open WebUI server's /api/v1/functions endpoint, registering a function with attacker-controlled Python. They lure a logged-in Open WebUI admin (via phishing link) to the page; because the server permits any origin with credentials, the victim's browser silently submits the request under the admin session, and the malicious code executes on the instance - as root inside the default Docker container. No public POC is referenced, and the high attack complexity means the admin must be authenticated and interact with the attacker page.

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

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

Alert me

AnalysisAIv1 – Jul 15, 2026

Remote code execution in Open WebUI (self-hosted LLM interface) before the fixed 0.3.33 release allows attackers to hijack an authenticated admin session through a CORS misconfiguration. When an instance is deployed with allow_origins=* and an authenticated admin visits an attacker-controlled website, the malicious page can issue authenticated cross-origin requests to the /api/v1/functions endpoint and register attacker-supplied Python code, achieving code execution - and because the container runs as root by default, full container compromise. There is no public exploit identified at time of analysis and it is not on CISA KEV, but the flaw is documented in a GitHub Security Lab advisory (GHSL-2024-174/175) and reported by VulnCheck.

RemediationAI

Vendor-released patch: upgrade to Open WebUI 0.3.33 or later, which corrects the CORS and session validation handling (see the GitHub Security Advisory GHSA-6xcp-7mpr-m7wm). Until patched, restrict cross-origin exposure by not running with allow_origins=* - set an explicit allowlist of trusted origins via the CORS_ALLOW_ORIGIN configuration so arbitrary attacker sites cannot make credentialed requests; the trade-off is that legitimate additional front-end origins must be enumerated. Additionally, reduce blast radius by not running the container as root (drop privileges / use a non-root user), which limits the 'complete container compromise' outcome even if the CORS request succeeds. Encourage admins to log out of Open WebUI when not in use and avoid browsing untrusted sites in the same session, and place the admin interface behind a VPN or network ACL so only trusted networks can reach it. Reference: https://www.vulncheck.com/advisories/open-webui-remote-code-execution-via-cors-misconfiguration-and-session-validation.

Affected VersionsENISA

open-webui 0 <0.3.14

Affected Packages

pypi open-webui fix: 0.3.14, 0.3.33

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 popular self-hosted web front-end for running local and remote large language models. The root cause is CWE-613 (Insufficient Session Expiration) combined with a CORS misconfiguration: multiple FastAPI routers (backend/apps/webui/main.py, audio, images, rag and others) were configured with a permissive Access-Control-Allow-Origin policy (allow_origins=* together with credentialed requests). This lets any origin make authenticated cross-site requests using the victim's existing session. The /api/v1/functions endpoint, accessible to admin accounts, permits registering 'functions' that contain executable Python, so an attacker who can drive an admin's browser into calling that endpoint gains arbitrary code execution. The single affected CPE is cpe:2.3:a:open-webui:open-webui:*:*:*:*:*:*:*:*.

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 (VulnCheck) PRIMARY 9.0 CRITICAL
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
vuln.today AI 8.3 HIGH

Network-delivered but AC:H because it needs the allow_origins=* misconfig and an admin session; PR:N as the attacker is unauthenticated, UI:R for the admin visit, S:C and C/I/A:H for root code execution and container compromise.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

2
Patch available
Jul 15, 2026 - 13:03 EUVD
CVE Published
Jul 15, 2026 - 11:25 cve.org
CRITICAL 9.0

DescriptionCVE.org

open-webui before 0.3.14 contains a cross-origin resource sharing misconfiguration allowing arbitrary origins with allow_origins=* and authenticated requests to the /api/v1/functions endpoint. Attackers can execute arbitrary code on the openwebui instance by crafting malicious cross-site requests from attacker-controlled websites when an admin user visits them.

Executive ViewAI

Why It Matters

Open WebUI versions before 0.3.33, a self-hosted LLM interface widely deployed in research and enterprise settings, contains a critical remote code execution vulnerability (CVE-2026-56400, CVSS 9.0) that exploits CORS misconfiguration to execute arbitrary Python code in the container running as root. Organizations with internet-exposed Open WebUI deployments face immediate risk of full system compromise, including data exfiltration and potential lateral movement to internal systems. No public exploit code has been identified at time of analysis.

Business Impact: Severe
Compensating Controls

Vendor-released patch: Open WebUI 0.3.33. Interim mitigations: restrict allow_origins from wildcard (*) to specific trusted domains; isolate affected instances to internal networks without public internet access; require administrator access only through VPN or bastion hosts; implement browser restrictions preventing simultaneous authenticated sessions and untrusted website access; monitor /api/v1/functions endpoint for unauthorized code registration attempts.

Threat Intelligence Overview

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Medium
popular self-hosted LLM front-end, common in AI deployments but not universal
Data Quality
6 sources
Confidence: High

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.3%
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
Out-of-Cycle
Exploitation
Poc
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

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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-2025-65959 HIGH POC
8.7 Dec 04

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.6.37, a St

CVE-2025-65958 HIGH POC
8.5 Dec 04

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.6.37, a Se

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]

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