{"cve":"CVE-2025-64496","nvd":{"published":"2025-11-08T02:15:35.443","modified":"2026-06-17T09:54:27.820","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","score":8.0},"cwes":["CWE-95","CWE-501","CWE-829","CWE-830"],"references":["https://github.com/open-webui/open-webui/commit/8af6a4cf21b756a66cd58378a01c60f74c39b7ca","https://github.com/open-webui/open-webui/security/advisories/GHSA-cm35-v4vp-5xvx","https://github.com/open-webui/open-webui/security/advisories/GHSA-cm35-v4vp-5xvx"],"products":["openwebui:open_webui"],"source":"nvd","synced_at":"2026-10-19T22:14:53.307938015+00:00"},"epss":{"cve":"CVE-2025-64496","score":0.07228,"percentile":0.94324,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-cm35-v4vp-5xvx","url":"https://osv.dev/vulnerability/GHSA-cm35-v4vp-5xvx","summary":"Open WebUI Affected by an External Model Server (Direct Connections) Code Injection via SSE Events","modified":"2026-07-07T17:57:04.792131983Z","packages":[{"ecosystem":"npm","name":"open-webui","purl":"pkg:npm/open-webui","ranges":["<0.6.35"],"fixed":["0.6.35"]},{"ecosystem":"PyPI","name":"open-webui","purl":"pkg:pypi/open-webui","ranges":["<0.6.35"],"fixed":["0.6.35"]}]},{"id":"PYSEC-2026-1729","url":"https://osv.dev/vulnerability/PYSEC-2026-1729","summary":"Open WebUI Affected by an External Model Server (Direct Connections) Code Injection via SSE Events","modified":"2026-07-07T17:47:46.946615419Z","packages":[{"ecosystem":"PyPI","name":"open-webui","purl":"pkg:pypi/open-webui","ranges":["<0.6.35"],"fixed":["0.6.35"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}