Open WebUI verified-user arbitrary Python code execution via unenforced code-execution feature gate
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.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
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.
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.
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.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.