Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. open-webui
  4. ›
  5. CVE-2025-64496

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

November 7, 2025

Open WebUI v0.6.33 and below contains 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.

References

  • github.com/advisories/GHSA-cm35-v4vp-5xvx
  • github.com/open-webui/open-webui
  • github.com/open-webui/open-webui/commit/8af6a4cf21b756a66cd58378a01c60f74c39b7ca
  • github.com/open-webui/open-webui/security/advisories/GHSA-cm35-v4vp-5xvx
  • nvd.nist.gov/vuln/detail/CVE-2025-64496

Code Behaviors & Features

Detect and mitigate CVE-2025-64496 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.6.35

Fixed versions

  • 0.6.35

Solution

Upgrade to version 0.6.35 or above.

Impact 7.3 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-501: Trust Boundary Violation
  • CWE-829: Inclusion of Functionality from Untrusted Control Sphere
  • CWE-830: Inclusion of Web Functionality from an Untrusted Source
  • CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')

Source file

pypi/open-webui/CVE-2025-64496.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 10 Nov 2025 12:20:45 +0000.