CVE-2026-45672: Open WebUI verified-user arbitrary Python code execution via unenforced code-execution feature gate
- Vendor
- Open WebUI
CVE-2026-45672 affects Open WebUI versions prior to 0.8.12. The /api/v1/utils/code/execute endpoint allows any verified user to execute arbitrary Python code via Jupyter even when the administrator has configured ENABLE_CODE_EXECUTION=false. The vulnerability is caused by improper authorization/feature-gate enforcement on the API endpoint: the application configuration indicates code execution is disabled, but the endpoint still permits execution. This creates a security control bypass that exposes a built-in code execution capability to low-privileged authenticated users.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
A verified user can remotely execute arbitrary Python code in the Open WebUI environment through the exposed API endpoint despite the administrator having disabled code execution. Successful exploitation can result in full compromise of the confidentiality, integrity, and availability of the affected application environment, including access to data available to the application/Jupyter runtime, modification of application state or hosted content, and disruption of service. The provided CVSS vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H reflects high impact across all three CIA dimensions.
Mitigation
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, restrict or block access to /api/v1/utils/code/execute at the reverse proxy, API gateway, or network layer, especially for untrusted users. Limit account creation and verified-user access, disable or isolate the Jupyter-backed execution environment where feasible, and monitor for requests to the endpoint and other indicators of code-execution abuse. Because the issue is specifically a failure to enforce the feature gate, administrators should not rely on ENABLE_CODE_EXECUTION=false alone as a protective control on vulnerable versions.
Remediation
Patch, then assume compromise.
Upgrade Open WebUI to version 0.8.12 or later, which fixes the issue by enforcing the code-execution feature gate on the /api/v1/utils/code/execute endpoint. Validate after upgrade that requests to this endpoint are denied when ENABLE_CODE_EXECUTION=false. Review for any unauthorized verified-user accounts and inspect historical use of the endpoint for signs of abuse.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2026-45672 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2026-45672?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2026-45672.
- Is there a patch for CVE-2026-45672?
- Upgrade Open WebUI to version 0.8.12 or later, which fixes the issue by enforcing the code-execution feature gate on the /api/v1/utils/code/execute endpoint. Validate after upgrade that requests to this endpoint are denied when ENABLE_CODE_EXECUTION=false.
- What products are affected by CVE-2026-45672?
- Open WebUI Open-Webui.
- How severe is CVE-2026-45672?
- CVE-2026-45672 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 0.41% (36th percentile) as of Oct 16, 2026.
Recent activity
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.