Skip to content
  • Home
  • Cyber Map
  • About Us – Contact
  • Disclaimer
  • Terms and Rules
  • Privacy Policy
Cyber Web Spider Blog – News

Cyber Web Spider Blog – News

Globe Threat Map provides a real-time, interactive 3D visualization of global cyber threats. Monitor DDoS attacks, malware, and hacking attempts with geo-located arcs on a rotating globe. Stay informed with live logs and archive stats.

  • Home
  • Cyber Map
  • Cyber Security News
  • Security Week News
  • The Hacker News
  • How To?
  • Toggle search form
Critical Vulnerability in Cursor Allows Windows Code Execution

Critical Vulnerability in Cursor Allows Windows Code Execution

Posted on July 15, 2026 By CWS

The AI security company Mindgard has identified a serious vulnerability in the Cursor application for Windows, which allows for arbitrary code execution. This flaw was reported to Cursor on December 15, 2025, but remains unpatched. The exploit occurs when a file named git.exe is present in the root of a cloned repository, which Cursor executes without any user interaction or warnings.

Details of the Vulnerability

The vulnerability arises from Cursor’s search mechanism for Git binaries when loading a project. If a binary named git.exe exists in the project root, Cursor will execute it, granting the binary access to the user’s resources and credentials. This flaw allows attackers to execute code with the same permissions as the logged-in user, simply by opening a maliciously crafted repository.

Mindgard demonstrated this vulnerability using a proof of concept where they renamed the Windows Calculator to git.exe and added it to a repository’s root. Upon opening the repository in Cursor, the calculator was executed repeatedly, highlighting the ease of exploitation.

Response and Mitigation

Despite the severity of the issue, Cursor has yet to release a fix, and no advisory has been published. Mindgard suggests several workarounds, such as using AppLocker or Windows App Control to block the execution of suspicious binaries within workspace roots. Additionally, they recommend developers use disposable VMs or Windows Sandbox for opening untrusted repositories to mitigate potential risks.

Cursor’s initial response to Mindgard’s report was delayed, and subsequent correspondence showed little progress toward resolving the issue. This has led Mindgard to disclose the vulnerability publicly after exhausting other options.

Impact on Other Platforms

This vulnerability is not unique to Cursor. Similar issues have been identified in other AI tools like GitHub Copilot CLI, Gemini CLI, and Codex desktop app. These applications also execute binaries from the current working directory before checking trusted system paths. However, no patches have been issued by these vendors either.

In contrast, AWS addressed a related issue in its Kiro tool by patching a separate file-write vulnerability, demonstrating that some vendors are taking steps to improve security.

Conclusion and Outlook

This vulnerability highlights a significant security gap in how some development tools handle executable files within repositories. As cloning repositories is a common practice among developers, the potential for exploitation is high. Until a patch is released, developers are advised to treat cloned repositories as potentially harmful content and apply recommended workarounds to protect their systems.

The Hacker News Tags:AI tools, AWS, code execution, Cursor, Cybersecurity, GitHub, Mindgard, OpenAI, repository cloning, security flaw, software patch, Vulnerability, Windows

Post navigation

Previous Post: Chinese Hackers Use AI Tools in Sophisticated Cyberattacks
Next Post: US Indicts Russians for Cybercrime Operations

Related Posts

Cisco Fixes Critical SD-WAN and IOS XE Vulnerabilities Cisco Fixes Critical SD-WAN and IOS XE Vulnerabilities The Hacker News
HollowFrame and Matryoshka Backdoor Target Law Firm HollowFrame and Matryoshka Backdoor Target Law Firm The Hacker News
Langflow Vulnerability Exploited Within Hours of Revelation Langflow Vulnerability Exploited Within Hours of Revelation The Hacker News
Cursor AI Code Editor Vulnerability Enables RCE via Malicious MCP File Swaps Post Approval Cursor AI Code Editor Vulnerability Enables RCE via Malicious MCP File Swaps Post Approval The Hacker News
Microsoft Pushes Quantum-Safe Cryptography by 2029 Microsoft Pushes Quantum-Safe Cryptography by 2029 The Hacker News
How Passwork 7 Addresses Complexity of Enterprise Security How Passwork 7 Addresses Complexity of Enterprise Security The Hacker News

Categories

  • Cyber Security News
  • How To?
  • Security Week News
  • The Hacker News

Recent Posts

  • Optimize MSSP Efficiency by Reducing Tier 1 Bottlenecks
  • SAP Addresses Critical Vulnerabilities in NetWeaver and S/4HANA
  • Microsoft Fixes Record 1,413 Vulnerabilities Including Exploited Bug
  • Curl 8.23.0 Fixes 24 Vulnerabilities Impacting Billions
  • Join the Zero Trust Strategies Virtual Summit Today

Pages

  • About Us – Contact
  • Disclaimer
  • Privacy Policy
  • Terms and Rules

Archives

  • October 2026
  • September 2026
  • August 2026
  • July 2026
  • June 2026
  • May 2026
  • April 2026
  • March 2026
  • February 2026
  • January 2026
  • December 2025
  • November 2025
  • October 2025
  • September 2025
  • August 2025
  • July 2025
  • June 2025
  • May 2025

Recent Posts

  • Optimize MSSP Efficiency by Reducing Tier 1 Bottlenecks
  • SAP Addresses Critical Vulnerabilities in NetWeaver and S/4HANA
  • Microsoft Fixes Record 1,413 Vulnerabilities Including Exploited Bug
  • Curl 8.23.0 Fixes 24 Vulnerabilities Impacting Billions
  • Join the Zero Trust Strategies Virtual Summit Today

Pages

  • About Us – Contact
  • Disclaimer
  • Privacy Policy
  • Terms and Rules

Categories

  • Cyber Security News
  • How To?
  • Security Week News
  • The Hacker News

Copyright © 2026 Cyber Web Spider Blog – News.

Powered by PressBook Masonry Dark