Read the docs
TI-2025-39888 Aliases CVE-2025-64496GHSA-cm35-v4vp-5xvx

Open WebUI Affected by an External Model Server (Direct Connections) Code Injection via SSE Events

Priority HIGH 70CWE-501Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-829.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.07228 94th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed open-webui (open-webui): 0.6.35open-webui (npm): 0.6.35+1 more product

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
open-webuiopen-webuibefore 0.6.350.6.35Patch availableCNA
—open-webui (npm)before 0.6.350.6.35Patch availableGHSA-cm35-v4vp-5xvx
—open-webui (PyPI)before 0.6.350.6.35Patch availableGHSA-cm35-v4vp-5xvx
  • open-webui Vendoropen-webui Affected before 0.6.35 Fixed in 0.6.35 Patch available CNA
  • open-webui (npm) Vendor— Affected before 0.6.35 Fixed in 0.6.35 Patch available GHSA-cm35-v4vp-5xvx
  • open-webui (PyPI) Vendor— Affected before 0.6.35 Fixed in 0.6.35 Patch available GHSA-cm35-v4vp-5xvx

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:*before 0.6.35Vulnerableopen-webui
  • cpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:* Versions before 0.6.35 Vulnerable ·open-webui

Remediation

  • Fix · CNA open-webui (open-webui) Fixed in 0.6.35
  • Fix · GHSA-cm35-v4vp-5xvx open-webui (npm) Fixed in 0.6.35 Advisory →
  • Fix · GHSA-cm35-v4vp-5xvx open-webui (PyPI) Fixed in 0.6.35 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-64496
  2. 2026-10-03 Alias added: GHSA-cm35-v4vp-5xvx

References

  • TI-2024-06216 Open WebUI Arbitrary File Upload + Path Traversal CVSS 3.1HIGH 8.8
  • TI-2024-07467 Improper Authentication in open-webui/open-webui CVSS 3.1HIGH 8.2
  • TI-2026-42359 Open WebUI: Cross-user code-interpreter and tool execution via unvalidated Socket.IO event-caller session_id CVSS 3.1CRITICAL 9.0
  • TI-2026-40759 open-webui - Remote Code Execution via CORS Misconfiguration and Session Validation CVSS 4.0CRITICAL 9.0
  • TI-2024-07431 Cross-site Scripting (XSS) in open-webui/open-webui CVSS 3.0CRITICAL 9.0
  • TI-2026-60021 Open WebUI: Same-origin XSS to account takeover via terminal port-preview iframe hardcoding allow-same-origin CVSS 3.1HIGH 8.7
See all 154 →

Sources