← News
/DISPATCH · 2026-08-24

CVE-2026-63093: Cursor IDE 0day Allows Malicious git.exe/hatch.exe Auto-Run with No AI or User Prompt

Mindgard disclosed a high-severity Cursor IDE binary-planting vulnerability CVE-2026-63093 (CVSS 8.7). An attacker only needs to place a malicious git.exe at the repo root, or a pyproject.toml that triggers hatch.exe. Opening the project on Windows auto-executes it—no user prompt, no AI interaction. Cursor disables Workspace Trust by default, expanding the AI IDE attack surface.

CVE-2026-63093 is a high-severity binary-planting vulnerability in the AI coding assistant Cursor IDE. CVSS v3.1: 8.7. An attacker can drop a malicious `git.exe` at the Git repo root, or trigger automatic execution of `hatch.exe` via `pyproject.toml`. When a developer opens the repo on Windows, the malicious binary runs automatically—no user prompt, no user interaction, no AI model involvement. Silent code execution. Cursor silently patched on July 13 but issued no formal security advisory, expanding the default attack surface of AI coding tools.

Incident Overview

Mindgard found CVE-2026-63093 while mapping security boundaries of AI coding tools. Root cause: Cursor IDE does not validate path priority for same-named executables in the repo root when opening a local repository. A binary shipped with the repo runs ahead of the same-named tool on system PATH. Worse: Cursor disables Workspace Trust by default. Opening an ordinary folder can reach a code-execution path. The `pyproject.toml` → `hatch.exe` path is stealthier still—build files are rarely treated as suspicious.

Technical Details

Binary planting: the OS resolves commands by PATH and current-directory priority. Some dev tools spawn subprocesses without handling that rule correctly. An attacker overlays the system default tool with a same-named executable at the repo root.

CVE-2026-63093 has two trigger chains:

Cursor disables Workspace Trust by default, further expanding the attack surface. Workspace Trust is a VS Code-family safety switch. When enabled, the user must explicitly authorize automatic task execution in the current folder. Cursor turns it off for AI automation UX. Result: opening a seemingly ordinary project triggers code execution with no security prompt.

Impact Assessment

CVSS: 8.7 (High). Attack vector: local. Attack complexity: low. Privileges required: low (only need to induce the user to clone or open the repo). User interaction: yes (open the repo), but no security prompt. PoC status: Mindgard published technical analysis and a disclosure timeline. Known in-the-wild: no exploitation of this CVE observed; similar patterns have long existed in the open-source ecosystem. Impact surface: all developers using Cursor IDE on Windows with default config. Combined with AI IDE auto-task workflows, potential victims include enterprise R&D teams and open-source contributors.

Affected Scope and Versions

Remediation

Detection Rules

AI coding tools are reshaping R&D workflows and introducing new attack surface. This Cursor incident shows that AI involvement does not change underlying patterns such as binary planting. Default-off Workspace Trust expands impact. Evaluate default security config when adopting an AI IDE. Combine sandbox, EDR, and process training for defense in depth.

References