CVE-2026-43899
CriticalSummary
DeepChat prior to version 1.0.4-beta.1 is vulnerable to an arbitrary protocol execution bypass, potentially leading to remote code execution (RCE). The issue arises from improper sanitization of Electron pop-up window handlers, allowing an attacker to intercept a malicious URL.
Risk Assessment
The organization may be exposed to remote code execution, which could lead to data loss, system takeover, or other serious security incidents.
Recommendation
It is recommended to update DeepChat to version 1.0.4-beta.1 to mitigate this vulnerability and conduct a security audit of the application.
Other vulnerabilities in DeepChat
See all- CVE-2025-67744Critical
DeepChat before version 0.5.3 contains an XSS vulnerability in the Mermaid diagram rendering component, which escalates to full Remote Code Execution (RCE) due to the exposure of the Electron IPC renderer to the DOM. An attacker can execute arbitrary system commands.
- CVE-2025-66481Critical
DeepChat versions 0.5.1 and below are vulnerable to XSS attacks through improperly sanitized Mermaid content. The security patch can be bypassed using unquoted HTML attributes combined with HTML entity encoding. Remote Code Execution is possible on the victim's machine via the electron.ipcRenderer interface. No fix is available at time of publication.
- CVE-2025-66222Critical
DeepChat 0.5.0 and earlier has a Stored Cross-Site Scripting (XSS) vulnerability in the Mermaid diagram renderer that allows an attacker to execute arbitrary JavaScript within the application context. By leveraging the exposed Electron IPC bridge, this XSS can be escalated to Remote Code Execution (RCE) by registering and starting a malicious MCP server.
Original NVD description (English source)
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.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

