Incorrect authorization in Open WebUI - #VU131120
Published: May 12, 2026
Open WebUI
Detailed vulnerability description
The vulnerability allows a remote user to execute arbitrary code.
The vulnerability exists due to improper access control in /api/v1/utils/code/execute endpoint when handling code execution requests while ENABLE_CODE_EXECUTION is set to false. A remote user can send a specially crafted request containing arbitrary Python code to execute arbitrary code.
Exploitation requires a verified user account and a connected Jupyter server.