CVE-2026-0766
Open WebUI vulnerability analysis and mitigation

Overview

CVE-2026-0766 is a code injection vulnerability in Open WebUI, specifically within the load_tool_module_by_id function, that allows authenticated remote attackers to execute arbitrary code. The vulnerability was reported to the vendor on October 9, 2025, but the vendor closed the report without providing a fix, leading ZDI to publish it as a 0-day advisory on January 9, 2026. The affected version is Open WebUI 0.6.32. It carries a CVSS v3.0 base score of 8.8 (High), assigned by Zero Day Initiative (ZDI Advisory).

Technical details

The root cause is classified as CWE-94 (Improper Control of Generation of Code / Code Injection): the load_tool_module_by_id function passes user-supplied input directly into a Python code execution context without adequate validation or sanitization (ZDI Advisory). An authenticated attacker can craft a malicious string that, when processed by this function, causes arbitrary Python code to be executed server-side. The attack vector is network-based, requires low privileges (valid authentication), no user interaction, and has low attack complexity. A technical write-up and PoC exploit script have been published by researcher bitt0n on GitHub (GitHub PoC) and additional analysis is available from community researchers (Infinitsec).

Impact

Successful exploitation grants an attacker arbitrary code execution in the context of the Open WebUI service account, resulting in high impact to confidentiality, integrity, and availability of the affected system (ZDI Advisory). An attacker can read sensitive data (including AI model configurations, API keys, and user data), modify system configurations, install backdoors, and disrupt service availability. The compromise of the service account may also enable lateral movement within the hosting environment depending on the account's privileges.

Exploitability

A proof-of-concept exploit has been publicly released by researcher bitt0n on GitHub (GitHub PoC), and the ZDI advisory was published as a 0-day due to the vendor's failure to remediate the issue (ZDI Advisory). As of the time of reporting, there is no confirmed evidence of in-the-wild exploitation, and no threat actor attribution has been made. The EPSS score is approximately 0.0068 (0.68%), indicating a currently low but non-negligible probability of exploitation. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog at this time.

Exploitation steps

  1. Reconnaissance: Identify internet-facing Open WebUI instances running version 0.6.32 using tools like Shodan or Censys, searching for Open WebUI banners or known API endpoints.
  2. Obtain credentials: Acquire valid user credentials for the target Open WebUI instance through phishing, credential stuffing, or use of a low-privilege account.
  3. Authenticate: Log in to the Open WebUI instance to obtain a valid session token or API key.
  4. Craft malicious payload: Construct a user-supplied string containing a malicious Python code snippet (e.g., a reverse shell or command execution payload) designed to be passed to the load_tool_module_by_id function.
  5. Trigger the vulnerable function: Submit the crafted payload via the appropriate API endpoint or UI interaction that invokes load_tool_module_by_id, causing the server to execute the injected Python code.
  6. Achieve code execution: The injected code runs in the context of the Open WebUI service account, enabling the attacker to establish a reverse shell, exfiltrate data, or perform further actions on the host system (ZDI Advisory, GitHub PoC).

Indicators of compromise

  • Network: Unexpected outbound connections from the Open WebUI server process to external IP addresses or unusual ports; reverse shell traffic originating from the service account.
  • Logs: Open WebUI application logs showing unusual or malformed tool module load requests; Python exceptions or tracebacks related to load_tool_module_by_id with unexpected input strings; authentication events from unfamiliar IP addresses.
  • Process: Unexpected child processes spawned by the Open WebUI Python process (e.g., bash, sh, curl, wget, python3 with unusual arguments); new cron jobs or scheduled tasks created under the service account.
  • File System: Unexpected new files (scripts, binaries, web shells) written to the Open WebUI installation directory or temp directories by the service account; modification of configuration files.

Mitigation and workarounds

As of the advisory publication date, no vendor patch is available; the Open WebUI vendor closed the original vulnerability report without providing a fix (ZDI Advisory). The primary recommended mitigation is to restrict network access to Open WebUI instances to trusted users and networks only, using firewalls or network-level access controls. Organizations should consider isolating affected Open WebUI deployments, enforcing strong authentication, and monitoring for suspicious activity until a patch becomes available. Users should follow ZDI and Open WebUI project channels for patch announcements.

Community reactions

The ZDI published this as a 0-day advisory after the vendor failed to respond adequately to repeated follow-ups over a three-month disclosure period, highlighting concerns about the vendor's vulnerability response process (ZDI Advisory). The vulnerability received coverage from The Hacker Wire and community discussion on Mastodon/Infosec.Exchange, with researchers noting the risk of unanswered disclosures in AI tooling platforms (The Hacker Wire). A Medium post and GitHub PoC from researcher bitt0n further amplified community awareness of the issue.

Additional resources


SourceThis report was generated using AI

Related Open WebUI vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-88006MEDIUM6.5
  • Python logoPython
  • open-webui
NoYesSep 10, 2026
CVE-2026-88005MEDIUM6.5
  • Python logoPython
  • open-webui
NoYesSep 10, 2026
CVE-2026-88002MEDIUM6.5
  • Python logoPython
  • open-webui
NoYesSep 09, 2026
CVE-2026-88000MEDIUM6.5
  • Python logoPython
  • cpe:2.3:a:openwebui:open_webui
NoYesSep 09, 2026
CVE-2026-88001MEDIUM5
  • Python logoPython
  • cpe:2.3:a:openwebui:open_webui
NoYesSep 09, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management