Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Attacker-supplied link is delivered network-side with no privileges but needs the chat to render/user to trigger it (UI:R); escaping the renderer to the OS shell is a scope change with full code-execution impact.
Primary rating from GitHub Advisory.
CVSS VectorGitHub Advisory
Lifecycle Timeline
3DescriptionGitHub Advisory
DeepChat is an open-source artificial intelligence agent platform that unifies models, tools, and agents. Prior to v1.0.4-beta.1, An incomplete mitigation for CVE-2025-55733 leaves DeepChat vulnerable to an arbitrary protocol execution bypass (RCE). While the patch correctly restricted api.openExternal() inside the renderer's preload/index.ts script, it structurally neglected to sanitize native Electron pop-up window handlers. An attacker or a compromised AI endpoint returning a Markdown link can trigger a target="_blank" native window interception in tabPresenter.ts, which forwards the malicious URL directly to shell.openExternal(url) and completely bypasses the isValidExternalUrl security boundary. This vulnerability is fixed in v1.0.4-beta.1.
AnalysisAI
Arbitrary protocol execution leading to remote code execution affects DeepChat before v1.0.4-beta.1, an open-source AI agent desktop platform built on Electron. The prior fix for CVE-2025-55733 only hardened api.openExternal() in the renderer preload but left native Electron pop-up window handlers unguarded, so a Markdown link with target="_blank" - deliverable by an attacker or a compromised/malicious AI endpoint the user is chatting with - is intercepted in tabPresenter.ts and passed straight to shell.openExternal(url), bypassing the isValidExternalUrl allowlist. Publicly available exploit code exists (SSVC: poc) but there is no public exploit identified in CISA KEV; EPSS is low at 0.07% (22th percentile).
Technical ContextAI
DeepChat is an Electron application, which combines a Chromium renderer with Node.js/OS-level capabilities. The vulnerable pattern is Electron's shell.openExternal(), which hands a URL to the host operating system's protocol handler; if an attacker controls the URL scheme, they can invoke dangerous handlers (e.g. file:, custom app protocols, or OS-registered handlers) that can result in code execution. CWE-20 (Improper Input Validation) is the root cause: the isValidExternalUrl security boundary was applied to one code path (the renderer preload's api.openExternal) but not to the native window-open interception path in tabPresenter.ts, so target="_blank" links routed through Electron's setWindowOpenHandler / new-window flow reached shell.openExternal unvalidated. Per CPE cpe:2.3:a:thinkinaixyz:deepchat, the affected product is ThinkInAIXYZ DeepChat across all versions prior to the fix.
RemediationAI
Vendor-released patch: upgrade to DeepChat v1.0.4-beta.1 or later, which extends the isValidExternalUrl validation to the native Electron window-open handler path in tabPresenter.ts; see the advisory at https://github.com/ThinkInAIXYZ/deepchat/security/advisories/GHSA-cp8j-jx7q-7r5f. Because the earlier CVE-2025-55733 patch is insufficient, do not rely on any pre-v1.0.4-beta.1 build. Until the upgrade is applied, reduce risk by connecting DeepChat only to trusted model endpoints (a compromised or malicious AI endpoint is a viable delivery channel), and instruct users not to click links returned in chat, especially those opening new windows - trade-off is degraded usability of legitimate links. Organizations that build from source can also apply a compensating control by hardening the OS protocol-handler registrations (removing or restricting dangerous custom URL scheme handlers) so that even an unvalidated shell.openExternal call cannot reach a code-execution handler, at the cost of breaking those protocol integrations.
DeepChat is a smart assistant uses artificial intelligence. In 0.5.0 and earlier, there is a Stored Cross-Site Scripting
DeepChat is a smart assistant uses artificial intelligence. Rated critical severity (CVSS 9.6), this vulnerability is re
Stored cross-site scripting in DeepChat before v1.0.4-beta.1 lets an attacker smuggle malicious JavaScript through SVG a
DeepChat is a smart assistant that connects powerful AI to your personal world. Rated critical severity (CVSS 9.6), this
Same weakness CWE-20 – Improper Input Validation
View allSame technique Authentication Bypass
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-29336