An unpatched Cursor zero-day went public after seven months
Mindgard published full technical details on 14 July of an unpatched zero-day in Cursor IDE on Windows. On opening a project, Cursor searches several locations for a Git binary — including the workspace root — so a malicious file named git.exe in a repository's root executes automatically when the IDE runs `git rev-parse --show-toplevel`, with the user's privileges, no prompt, no interaction. The Hacker News puts it plainly: "Whatever that binary does, it does as you, with your source, your SSH keys and your cloud tokens." Execution repeats during normal IDE operation. The flaw is demonstrated only on Windows, and whether Cursor searches the workspace itself or Windows' executable search order finds the file first, the write-up does not say.
The detail: The timeline is Mindgard's account: reported to security-reports@cursor.com on 15 December 2025; a mid-January LinkedIn response from Cursor's CISO routing it into a private HackerOne programme, where it was closed as "Informative and out of scope", reopened after Mindgard challenged the closure, and confirmed delivered on 20 January; status requests from February to April unanswered; intent to disclose on 1 June; publication on 14 July. At least 197 Cursor versions shipped in the interval, by Mindgard's count — the last confirmed vulnerable is 3.2.16 (30 April); whether the current 3.11 release (10 July) is vulnerable is unconfirmed. As of 15 July there is no CVE, no advisory for this flaw and no patch; Cursor's security page commits to acknowledging reports within 5 business days. Mindgard cites metrics of 7M+ active users and 50K+ companies. Mindgard's mitigations: deny execution from workspace directories via AppLocker or Windows App Control, and open untrusted repositories "only in an isolated VM, Windows Sandbox, or other disposable environment"; The Hacker News adds a pre-open check of project roots for git.exe, npx.exe, node.exe and where.exe. Per The Hacker News, VS Code's own documentation describes an identical repo-root probe, though no source confirms VS Code is exploitable the same way. Mindgard's rationale for going public: "Withholding information no longer serves users, it serves silence."
Related: Snowflake's Cortex Code CLI executed malware via indirect prompt injection in March — a prior case of an AI coding tool running untrusted code. On Windows, Mindgard's isolation advice comes down to the built-ins — Windows Sandbox or a disposable VM. The same class is arriving for coding agents: Clawkwork's clawk, shipped on 13 July, though macOS-only today and no fix for this flaw. Cursor's release cadence continued through the disclosure window, including Composer 2, built on Kimi, in March.