CVE-2025-64496 Details
Description
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Versions 0.6.224 and prior contain a code injection vulnerability in the Direct Connections feature that allows malicious external model servers to execute arbitrary JavaScript in victim browsers via Server-Sent Event (SSE) execute events. This leads to authentication token theft, complete account takeover, and when chained with the Functions API, enables remote code execution on the backend server. The attack requires the victim to enable Direct Connections (disabled by default) and add the attacker's malicious model URL, achievable through social engineering of the admin and subsequent users. This issue is fixed in version 0.6.35.
A code injection vulnerability has been identified in Open WebUI, an offline artificial intelligence platform, in versions through 0.6.224. The issue resides in the Direct Connections feature, which allows external model servers to execute arbitrary JavaScript in the browsers of users who have enabled this feature. The vulnerability is exploited via Server-Sent Events (SSE) that are not properly validated, leading to theft of authentication tokens and complete account takeovers. Furthermore, when combined with the Functions API, it enables remote code execution on the backend server. The attack requires the victim to activate Direct Connections and to add a malicious model URL, a task that can be accomplished through social engineering.
Users can update to Open WebUI version 0.6.35 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 13, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/open-webui/open-webui/security/advisories/GHSA-cm35-v4vp-5xvx | CISA-ADP | ExploitThird Party Advisory |
| https://github.com/open-webui/open-webui/commit/8af6a4cf21b756a66cd58378a01c60f74c39b7ca | [email protected] | Patch |
| https://github.com/open-webui/open-webui/security/advisories/GHSA-cm35-v4vp-5xvx | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-501 | Trust Boundary Violation | [email protected] |
| CWE-829 | Inclusion of Functionality from Untrusted Control Sphere | [email protected] |
| CWE-830 | Inclusion of Web Functionality from an Untrusted Source | [email protected] |
| CWE-95 | Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| openwebui open webui | < 0.6.35 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 26, 2025 | Initial Analysis | [email protected] |
| Nov 13, 2025 | CVE Modified | CISA-ADP |
| Nov 8, 2025 | New CVE Received | [email protected] |