CVE-2025-64496
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.
How to fix
- openwebui open_webui0.6.35 or later
- open-webui0.6.35 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| openwebui open_webui | v < 0.6.35 | 0.6.35 |
| open-webuinpm | v < 0.6.35 | 0.6.35 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.