CVE-2026-45672 Open WebUI: Jupyter code execution works despite `ENABLE_CODE_EXECUTION=false` — feature gate bypassed
Attackers can execute arbitrary Python code via Jupyter despite the code execution feature being disabled by administrators.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-45672?
CVE-2026-45672 is a high-severity vulnerability in Openwebui Open Webui, published on 15 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.8.12, the /api/v1/utils/code/execute endpoint executes arbitrary Python code via Jupyter for any verified user, even when the admin has set ENABLE_CODE_EXECUTION=false. The feature gate is not enforced on the API endpoint — the configuration says "disabled" but code still executes. This vulnerability is fixed in 0.8.12.
Weakness: CWE-863
Which versions are affected by CVE-2026-45672?
3 open source packages ship an affected version, including open-webui. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
open-webui PyPI | All versions | 0.8.12 |
open-webui PyPI | All versions | 0.8.12 |
open-webui PyPI | All versions | 0.8.12 |
Products include Openwebui Open Webui.
How do I fix CVE-2026-45672?
Upgrade open-webui to 0.8.12 or later.
Is CVE-2026-45672 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-45672 exists.
Other vulnerabilities in Openwebui Open Webui
- CVE-2026-44551 Open WebUI: LDAP Empty Password Authentication Bypass
- CVE-2026-56400 open-webui - Remote Code Execution via CORS Misconfiguration and Session Validation
- CVE-2024-8017 Cross-site Scripting (XSS) in open-webui/open-webui
- CVE-2026-87995 Open WebUI: Same-origin XSS to account takeover via terminal port-preview iframe hardcoding allow-same-origin
- CVE-2026-70492 Open WebUI: Stored XSS via unescaped KaTeX render-error fallback in rendered messages
Sources
Also known as GHSA-482j-2pq6-q5w4, PYSEC-2026-2698.