Critical Vulnerability in Cursor AI Code Editor Enables Automatic Code Execution

Thumbnail Image

The information displayed in the AIM should not be reported as representing the official views of the OECD or of its member countries.

A critical unpatched vulnerability in Cursor, an AI-powered code editor used by millions, allows attackers to execute arbitrary code on Windows systems simply by opening a malicious repository. The flaw, rooted in how Cursor resolves Git binaries, exposes users to significant security risks, including malware and data breaches.[AI generated]

Why's our monitor labelling this an incident or hazard?

The event involves an AI system (Cursor AI) with a critical security flaw that allows arbitrary code execution, which is a direct harm to users' property and security. The flaw is in the AI system's operation and has been exploited in testing, demonstrating realized harm potential. The company's failure to address the issue promptly exacerbates the risk. This fits the definition of an AI Incident because the AI system's malfunction (security vulnerability) has directly led to harm or risk of harm to users.[AI generated]
AI principles
Robustness & digital securityPrivacy & data governance

Industries
Digital security

Affected stakeholders
Consumers

Harm types
Economic/PropertyHuman or fundamental rights

AI system task:
Content generation


Articles about this incident or hazard