CVE-2026-0766: (0Day) Open WebUI load_tool_module_by_id Command Injection Remote Code Execution Vulnerability
Open WebUI loadtoolmodulebyid Command Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Open WebUI. Authentication is required to exploit this vulnerability.
The specific flaw exists within the loadtoolmodulebyid function. The issue results from the lack of proper validation of a user-supplied string before using it to execute Python code. An attacker can leverage this vulnerability to execute code in the context of the service account. Was ZDI-CAN-28257.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-0766?
CVE-2026-0766 is classified as a critical vulnerability due to its potential for remote code execution.
How do I fix CVE-2026-0766?
To mitigate CVE-2026-0766, apply security patches provided by Open WebUI as soon as they are available.
Who is affected by CVE-2026-0766?
CVE-2026-0766 affects all installations of Open WebUI that use the load_tool_module_by_id command.
What type of vulnerability is CVE-2026-0766?
CVE-2026-0766 is a command injection vulnerability leading to remote code execution.
Can CVE-2026-0766 be exploited without authentication?
Yes, CVE-2026-0766 can be exploited without authentication, allowing remote attackers to execute arbitrary code.