CVE-2026-45672 Open WebUI: Jupyter code execution works despite `ENABLE_CODE_EXECUTION=false` — feature gate bypassed

High 8.8 Published Updated

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.

PackageAffectedFixed in
open-webui PyPIAll versions0.8.12
open-webui PyPIAll versions0.8.12
open-webui PyPIAll versions0.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.

All Openwebui Open Webui vulnerabilities

Sources

Also known as GHSA-482j-2pq6-q5w4, PYSEC-2026-2698.

Is CVE-2026-45672 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free