CVE-2026-43899

DeepChat: Incomplete Fix for CVE-2025-55733 leads to Remote Code Execution via Markdown Links bypassing `isValidExternalUrl`

Published May 11, 2026 CVSS 3.1 · 9.6 Critical EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

DeepChat, an open‑source AI agent platform, had an incomplete fix for a prior vulnerability that allowed an attacker to execute code on a user’s machine. The flaw lies in the handling of Markdown links rendered in the application. When a link contains a target="_blank" attribute, a native Electron pop‑up window is created, and the URL is forwarded directly to shell.openExternal(url). This bypasses the security boundary defined by isValidExternalUrl. An attacker or a malicious AI endpoint that returns such a link can therefore trigger arbitrary external command execution, yielding full remote code execution on the target. The weakness is an instance of CWE‑20: Improper Input Validation.

Affected Systems

ThinkInAIXYZ’s DeepChat product is affected, specifically versions prior to v1.0.4‑beta.1. No specific sub‑versions are listed beyond the general pre‑1.0.4‑beta.1 range, so any deployment of DeepChat older than that release is vulnerable.

Risk and Exploitability

The CVSS score of 9.6 indicates critical severity, and the EPSS score is not available, so the current public exploit probability is unknown. The vulnerability is not listed in the CISA KEV catalog. Based on the description, the likely attack vector is via malicious markdown links that an attacker can inject into an AI endpoint or via a compromised AI service. Successful exploitation requires that the end user render the link inside the DeepChat UI, and the application’s shell.openExternal call will execute the injected URL, giving the attacker full control.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade DeepChat to version 1.0.4‑beta.1 or later.
  • Disable or restrict shell.openExternal calls in the application or enforce isValidExternalUrl consistently across all pop‑up handlers.
  • Ensure that any Markdown content returned from AI endpoints is validated or sanitized before rendering to prevent malicious links from being presented to the user.

Generated by OpenCVE AI on May 11, 2026 at 23:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Thinkinai
Thinkinai deepchat
Vendors & Products Thinkinai
Thinkinai deepchat
Type Values Removed Values Added
Description 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.
Title DeepChat: Incomplete Fix for CVE-2025-55733 leads to Remote Code Execution via Markdown Links bypassing `isValidExternalUrl`
Weaknesses CWE-20
References
Metrics cvssV3_1

{'score': 9.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H'}

Weaknesses
  • CWE-20

    Improper Input Validation

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
May 12, 2026, 12:52 PM
Reserved
May 4, 2026, 4:11 PM
Status
Deferred
Published
May 11, 2026, 11:20 PM
Modified
Oct 26, 2026, 6:10 PM