Account takeover via unfiltered SSE execute events
Published Nov 8, 2025 · Updated Nov 8, 2025
Code injection in Open WebUI before 0.6.35 allows remote authenticated users to steal browser tokens through malicious model-server SSE events. The frontend SSE event handler forwards event data from direct connections and runs the event.data.code value with the Function constructor without validation, event-type filtering, or sandboxing. Direct Connections is disabled by default; an administrator must enable it, a user must add the malicious server and send a prompt, and stolen tokens permit account takeover, with backend execution only through a separate Functions API chain.
Summary
What happened
Code injection in Open WebUI before 0.6.35 allows remote authenticated users to steal browser tokens through malicious model-server SSE events. The frontend SSE event handler forwards event data from direct connections and runs the event.data.code value with the Function constructor without validation, event-type filtering, or sandboxing. Direct Connections is disabled by default; an administrator must enable it, a user must add the malicious server and send a prompt, and stolen tokens permit account takeover, with backend execution only through a separate Functions API chain.
The record
- CVE
- CVE-2025-64496
- Published
- Nov 8, 2025
- Updated
- Nov 8, 2025
- Vendor
- Open WebUI
- Product
- Open WebUI
- Classifications
- CWE-830, CWE-95, CWE-829, CWE-501, T1059.007
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Nov 8, 2025CVE publishedPublication date reported by the CVE source.
- Nov 8, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 0.6.35
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GHSA-cm35-v4vp-5xvx complete reproductionfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo