Skip to content
Heist/ feed
Back to feed
High

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-64496
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 14:54 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 8 Nov 2025, 01:29 UTC

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.

osv:CVE-2025-64496
Complete source record
{
  "id": "664c4337310062ab6076990f68420da804ce697f49ae0adea81e515b7b1161d5",
  "url": "https://osv.dev/vulnerability/CVE-2025-64496",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Open WebUI Affected by an External Model Server (Direct Connections) Code Injection via SSE Events",
    "summary": "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.",
    "evidence": "osv:CVE-2025-64496",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-64496",
      "aliases": [
        "CVE-2025-64496",
        "GHSA-cm35-v4vp-5xvx",
        "PYSEC-2026-1729"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/open-webui/open-webui",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "e85c7f79310f351672fe967a102396b6f3f5e88b"
                },
                {
                  "fixed": "8af6a4cf21b756a66cd58378a01c60f74c39b7ca"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.6.35"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "8af6a4cf21b756a66cd58378a01c60f74c39b7ca"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.6.34",
            "v0.6.33",
            "v0.6.32",
            "v0.6.31",
            "v0.6.30",
            "v0.6.29",
            "v0.6.28",
            "v0.6.27",
            "v0.6.26",
            "v0.6.25",
            "v0.6.24",
            "v0.6.23",
            "v0.6.22",
            "v0.6.21",
            "v0.6.20",
            "v0.6.19",
            "v0.6.18",
            "v0.6.17",
            "v0.6.16",
            "v0.6.15",
            "v0.6.14",
            "v0.6.13",
            "v0.6.12",
            "v0.6.11",
            "v0.6.10",
            "v0.6.9",
            "v0.6.8",
            "v0.6.7",
            "v0.6.6",
            "v0.6.5",
            "v0.6.4",
            "v0.6.3",
            "v0.6.2",
            "v0.6.1",
            "v0.6.0",
            "v0.5.16",
            "v0.5.20",
            "v0.5.19",
            "v0.5.18",
            "v0.5.17",
            "v0.5.15",
            "v0.5.14",
            "v0.5.12",
            "v0.5.13",
            "v0.5.11",
            "v0.5.10",
            "v0.5.9",
            "v0.5.8",
            "v0.5.7",
            "v0.5.6",
            "v0.5.5",
            "v0.5.4",
            "v0.5.3",
            "v0.5.2",
            "v0.5.1",
            "v0.5.0",
            "v0.4.8",
            "v0.4.7",
            "v0.4.6",
            "v0.4.5",
            "v0.4.4",
            "v0.4.3",
            "v0.4.2",
            "v0.4.1",
            "v0.4.0",
            "v0.3.35",
            "v0.3.34",
            "v0.3.33",
            "v0.3.32",
            "v0.3.31",
            "v0.3.30",
            "v0.3.29",
            "v0.3.28",
            "v0.3.27",
            "v0.3.26",
            "v0.3.25",
            "v0.3.24",
            "v0.3.23",
            "v0.3.22",
            "v0.3.21",
            "v0.3.20",
            "v0.3.19",
            "v0.3.18",
            "v0.3.17",
            "v0.3.16",
            "v0.3.15",
            "v0.3.14",
            "v0.3.13",
            "v0.3.12",
            "v0.3.11",
            "v0.3.10",
            "v0.3.9",
            "v0.3.8",
            "v0.3.7",
            "v0.3.6",
            "v0.3.5",
            "v0.3.4",
            "v0.3.3",
            "v0.3.2",
            "v0.3.1",
            "v0.3.0",
            "v0.2.5",
            "v0.2.4",
            "v0.2.3",
            "v0.2.2",
            "v0.2.1",
            "v0.2.0",
            "v0.1.125",
            "v0.1.124",
            "v0.1.123",
            "v0.1.122",
            "v0.1.114",
            "v0.1.121",
            "v0.1.120",
            "v0.1.119",
            "v0.1.118",
            "v0.1.117",
            "v0.1.116",
            "v0.1.115",
            "v0.1.108",
            "v0.1.113",
            "v0.1.112",
            "v0.1.111",
            "v0.1.110",
            "v0.1.109",
            "v0.1.107",
            "v0.1.106",
            "v0.1.105",
            "v0.1.104",
            "v0.1.103",
            "v0.1.102"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-64496.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:51.213516078Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/64xxx/CVE-2025-64496.json",
        "https://github.com/open-webui/open-webui/security/advisories/GHSA-cm35-v4vp-5xvx",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-64496",
        "https://github.com/open-webui/open-webui/commit/8af6a4cf21b756a66cd58378a01c60f74c39b7ca"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-501",
          "CWE-829",
          "CWE-830",
          "CWE-95"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/64xxx/CVE-2025-64496.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-64496",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 519690,
  "published_at": "2025-11-08T01:29:02.654+00:00"
}