Severity by source
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
4DescriptionCVE.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.
AnalysisAI
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.
Technical ContextAI
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:*:*:*:*:*:*:*:*.
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.
More in Open Webui
View allA vulnerability in open-webui/open-webui version 0.3.8 allows an attacker with a user-level account to perform a session
An 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
A vulnerability in open-webui/open-webui versions <= 0.3.8 allows remote code execution by non-admin users via Cross-Sit
Attacker controlled files can be uploaded to arbitrary locations on the web server's filesystem by abusing a path traver
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.6.37, a St
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.6.37, a Se
A stored cross-site scripting (XSS) vulnerability exists in open-webui/open-webui version 0.3.8. Rated high severity (CV
In version v0.3.10 of open-webui/open-webui, the `api/v1/utils/pdf` endpoint lacks authentication mechanisms, allowing u
In open-webui version 0.3.8, the endpoint `/models/upload` is vulnerable to arbitrary file write due to improper handlin
The `/openai/models` endpoint in open-webui/open-webui version 0.3.8 is vulnerable to Server-Side Request Forgery (SSRF)
In version 0.3.32 of open-webui/open-webui, the absence of authentication mechanisms allows any unauthenticated attacker
Same weakness CWE-613 – Insufficient Session Expiration
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-44629
GHSA-m5hr-9f92-qvh9