(0Day) Open WebUI PIP install_frontmatter_requirements Command Injection Remote Code Execution Vulnerability
Vulnerability Details
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 install_frontmatter_requirements function.The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of the service account.
Additional Details
10/09/25 – ZDI submitted the report to the vendor’s GitHub account
10/10/25 – the vendor closed the report
10/15/25 – ZDI asked for the reason
11/10/25 – ZDI asked for the fix
12/10/25 – ZDI notified the vendor of the intention to publish the case as a 0-day advisory
UPDATE:
9/2/26 - The vendor states that further investigation showed that this is intended functionality of the Plugins extension system, in which users granted the relevant permission author Python that the server executes by design.
https://docs.openwebui.com/security/vendor-dispositions/cve-2026-0765/
Disclosure Timeline
- 2025-10-09 - Vulnerability reported to vendor
- 2026-01-09 - Coordinated public release of advisory
- 2026-09-02 - Advisory Updated
Credit
Peter Girnus (@gothburz), Brandon Niemczyk of Trend Zero Day Initiative