Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Unpatched Cursor Vulnerability Exposes Users to Code Execution

0
Medium
Vulnerability
Published: 07/15/2026 (07/15/2026, 14:37:13 UTC)
Source: SecurityWeek

Description

An attacker can create a malicious repository containing a git.exe in the project root, and Cursor executes it automatically. The post Unpatched Cursor Vulnerability Exposes Users to Code Execution appeared first on SecurityWeek .

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 14:47:44 UTC

Technical Analysis

Cursor, a popular AI-assisted development environment with over 7 million users, has a vulnerability on Windows where it automatically executes a git.exe binary found in the root of a project repository when the project is opened. This behavior occurs without any warning or user consent. The vulnerability was reported to Cursor in December 2025 by Mindgard, who found that exploitation requires only opening a malicious repository containing a crafted git.exe. Despite confirmation of the issue via Cursor's bug bounty program, no patch or official fix has been released, and users remain unprotected. The vulnerability does not rely on complex exploitation techniques but on Cursor's path resolution logic that includes executing binaries found in the workspace itself.

Potential Impact

An attacker who can supply a malicious repository with a git.exe binary in its root can achieve arbitrary code execution on a developer's machine running Cursor on Windows simply by having the developer open the repository. This could lead to compromise of the developer's environment, potentially enabling further attacks such as malware installation or credential theft. The vulnerability affects all users opening such malicious repositories, posing a significant risk to development environments.

Mitigation Recommendations

As of the latest information, no official patch or remediation has been provided by Cursor. Users should avoid opening untrusted or suspicious repositories in Cursor on Windows until a fix is released. Monitor Cursor's official channels for updates. Since the vendor has not responded with a fix or mitigation, users must exercise caution and consider alternative development environments or manual verification of repository contents before opening them in Cursor.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Article Source
{"url":"https://www.securityweek.com/unpatched-cursor-vulnerability-exposes-users-to-code-execution/","fetched":true,"fetchedAt":"2026-07-15T14:47:36.219Z","wordCount":1027}

Threat ID: 6a579d8868715ace43e8eb7a

Added to database: 07/15/2026, 14:47:36 UTC

Last enriched: 07/15/2026, 14:47:44 UTC

Last updated: 07/16/2026, 03:40:20 UTC

Views: 8

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses