Open WebUI Affected by an External Model Server (Direct Connections) Code Injection via SSE Events
Vulnerability 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.
Impact Analysis
Refer to official advisory for detailed impact metrics.
Remediation
Ensure systems are updated to the latest vendor-supplied patch levels.
Am I Vulnerable?
Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-64496
Credits & Attribution
No credits recorded in the NVD database.
References
More from open-webui
View All →Affected Vendor
open-webui
View all reports →Affected Software
Timeline
CVSS Vectors
MITRE ATT&CK TTPs
No associated TTPs found for this vulnerability.