CVE-2025-64496
published high CVSS 3.1 · 7.3Open WebUI Affected by an External Model Server (Direct Connections) Code Injection via SSE Events
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| open-webui | — | open-webui< 0.6.35 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.3 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| open-webui | open-webui | < 0.6.35 (affected) | GitHub_M · cna |
Weaknesses
4- CWE-95 CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
- CWE-829 CWE-829: Inclusion of Functionality from Untrusted Control Sphere
- CWE-830 CWE-830: Inclusion of Web Functionality from an Untrusted Source
- CWE-501 CWE-501: Trust Boundary Violation
References
2Provider assertions
2GitHub_M · cna
Open WebUI Affected by an External Model Server (Direct Connections) Code Injection via SSE Events
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1161ee2348ee883c95365a389263f069ca0a5755eb7ee3441cac2997cc8309df
- Ingested
- 23 Sep 2026, 08:56:07 UTC
- Source record
- Official CVE record