Back to List
Cursor IDE 0-Day Vulnerability: Critical Security Flaw Allows Arbitrary Code Execution via Malicious Git Binaries
Industry NewsCybersecurityCursor IDE0-day

Cursor IDE 0-Day Vulnerability: Critical Security Flaw Allows Arbitrary Code Execution via Malicious Git Binaries

A critical 0-day vulnerability has been disclosed in Cursor, a leading AI-assisted development environment, which allows for arbitrary code execution on Windows systems. Discovered by security firm Mindgard, the flaw occurs because Cursor attempts to locate git binaries within a project's workspace. If a user opens a repository containing a malicious 'git.exe' in the root directory, the IDE executes the file automatically without any user interaction, prompts, or security warnings. Despite being reported in December 2025, the vulnerability remains unpatched more than six months later, even after nearly 200 version updates. With over 7 million active users and a $60 billion market valuation, the lack of a fix for this simple yet dangerous exploit raises significant concerns regarding security practices within the AI tool industry.

Hacker News

Key Takeaways

  • Automatic Execution: Cursor automatically searches for and executes git.exe from the root of an opened project on Windows without user consent.
  • Zero Interaction Required: Exploitation does not require clicks, approval dialogs, or any form of user prompt, leading to immediate arbitrary code execution.
  • Unpatched Status: The vulnerability was reported on December 15, 2025, but remains active after six months and over 197 new version releases.
  • Massive Exposure: The flaw impacts a user base of over 7 million active users and more than 50,000 companies using the platform.
  • Simplicity of Exploit: Unlike complex memory corruption or prompt injection attacks, this vulnerability relies on a basic failure in binary path searching.

In-Depth Analysis

The Mechanism of the Cursor 0-Day

The vulnerability identified by Mindgard in the Cursor IDE is notable for its technical simplicity and high impact. When a developer loads a project into the environment, Cursor initiates a search for git binaries to facilitate version control features. The IDE is designed to look at various locations to find these binaries, including the current workspace root.

On Windows systems, if an attacker plants a malicious file named git.exe in the root of a repository, Cursor will identify and execute this binary. This process happens automatically and, crucially, on a repeated cadence. There are no security checkpoints, such as "Trust this folder" prompts or execution warnings, that would typically prevent an IDE from running unknown binaries found within a project's source code. This results in arbitrary code execution (ACE), effectively giving the malicious binary the same permissions as the user running the IDE.

A Timeline of Security Neglect

Perhaps more concerning than the technical flaw itself is the response—or lack thereof—from the Cursor development team. Mindgard first identified and reported the issue on December 15, 2025. In the subsequent six months, the researchers reported the flaw multiple times. During this period, Cursor released more than 197 new versions of the software.

Despite the high frequency of updates, the latest tested version of the IDE still contains the vulnerability. This situation has led to the decision for "full disclosure," as traditional private reporting channels failed to produce a fix. The persistence of such a straightforward bug through hundreds of iterations suggests a potential gap in the security review process for one of the world's most valuable AI startups. The vulnerability is not theoretical; it does not require sophisticated tradecraft like model manipulation or jailbreaking, making it an accessible vector for supply chain attacks where developers are targeted through malicious repositories.

Scale and Risk Assessment

The risk profile of this 0-day is amplified by Cursor's rapid market adoption. With a reported market valuation of $60 billion and a user base exceeding 7 million active users (including 1 million daily active users), the platform is a cornerstone of the modern AI-assisted development workflow.

Furthermore, the fact that over 50,000 companies utilize Cursor means that this vulnerability could serve as an entry point into secure corporate environments. Because the exploit is triggered simply by opening a project, any developer who clones a public repository or receives a project folder from an untrusted source is at risk. The lack of a fix for a bug that requires no complex exploitation chain—only the presence of a file in a root directory—highlights a significant oversight in protecting a massive professional user base.

Industry Impact

The disclosure of the Cursor 0-day has significant implications for the AI-assisted development industry. As AI tools become more integrated into the software development lifecycle, they gain deep access to local file systems and execution environments. This incident underscores the necessity for these tools to adhere to established security best practices, such as validating binary paths and implementing robust "trusted workspace" protocols.

For the broader tech industry, this case serves as a reminder that high valuations and rapid feature iteration do not always correlate with security maturity. When a widely used tool fails to address a reported critical vulnerability for over half a year, it erodes trust in the ecosystem. Organizations may need to implement stricter controls on the use of AI IDEs on managed Windows systems, such as restricting the ability of applications to execute binaries from user-writable workspace directories, until a formal patch is deployed.

Frequently Asked Questions

Question: How is the Cursor 0-day vulnerability triggered?

It is triggered when a user opens a project or repository in Cursor on a Windows system that contains a malicious file named git.exe in the root directory. The IDE automatically searches for and executes this file without any user interaction or confirmation.

Question: Has Cursor released a fix for this issue?

As of the latest report from Mindgard, the issue remains unpatched. The vulnerability has persisted for over six months and through more than 197 version updates since it was first reported in December 2025.

Question: What makes this vulnerability different from other AI security risks?

Unlike many AI-specific risks that involve prompt injection or model hallucinations, this is a traditional software security flaw. It does not require complex exploitation techniques; it simply exploits the way the IDE searches for system binaries within a user's workspace.

Related News

Deel Acquires Deepfake Technology Startup Clarity to Enhance Global HR Security
Industry News

Deel Acquires Deepfake Technology Startup Clarity to Enhance Global HR Security

US-based HR and payroll platform Deel has announced the acquisition of Clarity, a startup specializing in deepfake technology. Founded in 2022, Clarity had quickly gained traction in the tech space, securing $16 million in funding from investors prior to the acquisition. This strategic move by Deel highlights the growing importance of addressing synthetic media and identity verification challenges within the human resources and remote work sectors. By integrating Clarity’s specialized capabilities, Deel aims to bolster its security infrastructure against the rising threat of deepfakes in digital hiring and corporate communications. The acquisition underscores a significant trend of HR platforms investing in advanced AI-driven security tools to protect global operations.

Indian AI Startup Kily Secures $3.1 Million in Funding to Scale Operations and Brand Partnerships
Industry News

Indian AI Startup Kily Secures $3.1 Million in Funding to Scale Operations and Brand Partnerships

Kily, an emerging Indian AI startup founded in 2025, has successfully raised $3.1 million in its latest funding round. Despite being a relatively new player in the technology sector, the company has already demonstrated significant market traction by securing strategic partnerships with major industry leaders, most notably the Indian conglomerate ITC. This capital injection marks a pivotal milestone for the young firm as it seeks to establish its presence in the rapidly evolving artificial intelligence landscape. The funding highlights strong investor confidence in Kily's potential and its ability to deliver value to high-profile enterprise clients within a short period since its inception.

Why Domain Expertise is the Ultimate Skill for Mastering Large Language Models and Prompting
Industry News

Why Domain Expertise is the Ultimate Skill for Mastering Large Language Models and Prompting

While Large Language Models (LLMs) have democratized technical tasks, turning many users into generalists, a common misconception persists that prompting requires little specialized skill. However, recent analysis suggests that domain expertise remains the critical factor in achieving high-level results. By examining world-class mathematician Terence Tao’s interactions with GPT-5.6 Sol regarding the Jacobian Conjecture, it becomes clear that expert-level prompting involves concise communication, signaling deep knowledge to trigger specialized model responses, and maintaining control over the direction of the inquiry. Unlike amateurs who may follow the model's lead, experts like Tao use LLMs as tools to refine their own insights, proving that the value of an LLM is directly proportional to the user's existing knowledge in the field. Ultimately, LLMs do not replace expertise; they reward it.