Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker controls or compromises AI model endpoint
-
DeliveryReturn Markdown link with target="_blank"
-
ExploitNative window handler intercepts in tabPresenter.ts
-
ExecutionURL forwarded to shell.openExternal bypassing isValidExternalUrl
-
PersistOS protocol handler invoked
-
ImpactArbitrary code execution outside renderer
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Exploitation requires that DeepChat render an attacker-supplied Markdown link containing a target="_blank" (new-window) attribute, which is routed through the native Electron pop-up/window-open handler in tabPresenter.ts and passed to shell.openExternal. The concrete delivery prerequisite is attacker control over content shown in the chat - most realistically a compromised or malicious AI model endpoint the user has connected, or otherwise attacker-influenced response content. Limiting factors: the CVSS vector includes UI:R, so a user-interaction/rendering step is needed rather than fully silent exploitation; the target must be running a vulnerable DeepChat build (< v1.0.4-beta.1); and the malicious URL must map to an OS-registered protocol handler capable of meaningful impact on the victim's platform. There is no authentication requirement on the attacker side (PR:N), and no special DeepChat configuration flag is needed beyond normal use with an untrusted endpoint. |
| Impact | Signals are mixed and should be weighed carefully. The CVSS 3.1 base score is 9.6 (AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H) - network-reachable, low complexity, no privileges, scope change to the OS, full CIA impact - but it explicitly requires user interaction (UI:R), and exploitation depends on the victim clicking or a chat rendering an attacker-supplied Markdown link. SSVC frames it as Exploitation=poc (proof-of-concept, not active exploitation), Automatable=no (a human/AI-delivery step is needed), Technical Impact=total. EPSS is very low at 0.07% (22th percentile), consistent with a niche desktop client rather than a mass-scanned internet service, and this is NOT in CISA KEV. The most notable delivery nuance is that a compromised or adversarial AI model endpoint can inject the malicious link automatically into the chat, lowering the practical bar for the required user interaction. Net: genuinely high technical severity for anyone running vulnerable DeepChat, but real-world exposure is limited by the interaction requirement, the modest install base, and lack of evidence of active exploitation - patch promptly but this is not an internet-wide emergency. |
| Exploit ScenarioDerived | A user connects DeepChat to a malicious or compromised model endpoint, or is otherwise served attacker-controlled content, and the AI response includes a Markdown link with target="_blank". When the native window-open handler intercepts it, DeepChat forwards the crafted URL directly to shell.openExternal, invoking a dangerous OS protocol handler and achieving code execution outside the renderer sandbox. Proof-of-concept exploit code exists per SSVC, and the required user interaction may be minimal since the malicious link can be auto-rendered by the chat. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 23, 2026
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).
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Deepchat gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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 Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Executive ViewAI
DeepChat, an open-source AI agent desktop platform used for enterprise AI interactions, is vulnerable to remote code execution via malicious chat messages; publicly available exploit code exists. Organizations using DeepChat face immediate risk of complete system compromise, data exfiltration, and potential lateral movement into enterprise networks.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
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
Cross-site scripting in DeepChat's Mermaid diagram renderer escalates to full remote code execution on affected desktop
Remote code execution in DeepChat 0.5.1 and below is possible through a cross-site scripting flaw in Mermaid diagram ren
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
EUVD-2026-29336
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB