Vulnerability · Published Nov 8, 2025 · Assigned by GitHub_M

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

High 7.3

In plain English

A high-severity security flaw in open-webui from open-webui. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 7.2% (higher than 94% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.3High
Exploit odds (30 days)7.2%top 5.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIopen-webui0.6.35GHSA-cm35-v4vp-5xvx
PyPIopen-webui0.6.35PYSEC-2026-1729
npmopen-webui0.6.35GHSA-cm35-v4vp-5xvx

Affected products (as reported)

VendorProductVersions
open-webui open-webui < 0.6.35

Weakness: CWE-95, CWE-829, CWE-830, CWE-501 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N

References