CVE-2026-0766

HIGH LAB

Open WebUI - Authenticated Remote Code Execution via load_tool_module_by_id Function

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2026-0766. PoCs published by exploitintel, bitt0n.

AI-analyzed exploit summary The repository contains functional exploit code demonstrating CVE-2026-0766, a remote code execution vulnerability in Open WebUI via `exec()` code injection. The PoC scripts exploit multiple attack vectors (tool creation, function creation, and tool update) to achieve RCE as root.

Description

Open WebUI load_tool_module_by_id 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 load_tool_module_by_id 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.

Exploits (2)

github WORKING POC 1 stars
by exploitintel · pythonpoc
https://github.com/exploitintel/eip-pocs-and-cves/tree/main/CVE-2026-0766

The repository contains functional exploit code demonstrating CVE-2026-0766, a remote code execution vulnerability in Open WebUI via `exec()` code injection. The PoC scripts exploit multiple attack vectors (tool creation, function creation, and tool update) to achieve RCE as root.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: Open WebUI <= v0.8.5
Auth required
Prerequisites: authenticated user with tool creation privileges
devstral-2 · analyzed Mar 02, 2026 Full analysis →
nomisec WORKING POC
by bitt0n · poc
https://github.com/bitt0n/CVE-2026-0766

This repository contains a functional proof-of-concept exploit for CVE-2026-0766, a remote code execution vulnerability in OpenWebUI. The exploit leverages unsafe use of Python's `exec()` function in the tool creation feature to achieve arbitrary code execution.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: OpenWebUI v0.8.10
Auth required
Prerequisites: Authenticated user with tool creation privileges · Target URL and valid JWT token or API key
devstral-2 · analyzed Apr 09, 2026 Full analysis →

References (1)

Core 1
Core References
Third Party Advisory x_research-advisory
https://www.zerodayinitiative.com/advisories/ZDI-26-032/

Scores

CVSS v3 8.8
EPSS 0.0169
EPSS Percentile 73.9%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Lab Environment

EIP LAB Lab screenshot
vulnerable docker pull ghcr.io/exploitintel/cve-2026-0766-vulnerable:latest

Details

CWE
CWE-94
Status published
Products (1)
openwebui/open_webui 0.6.32
Published Jan 23, 2026
Tracked Since Feb 18, 2026