Skip to main content
← All vulnerabilities
CVE-2025-64496GHSA-CM35-V4VP-5XVXPYSEC-2026-1729

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.6.35
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • open-webui open-webui

    fixed in 0.6.35

  • open-webuinpm

    fixed in 0.6.35

  • open-webuiPyPI

    fixed in 0.6.35

References 2

GitHub · open-webui/open-webui