Cursor Code Editor Remote Code Execution Vulnerability

Vulnerability

A remote code execution vulnerability exists in Cursor code editor versions through 1.7. This issue arises from the automatic loading of project-specific command-line interface (CLI) configurations from the current working directory, which could override certain global settings. Users running the CLI in a malicious repository could exploit this vulnerability by combining permissive configurations that allow shell commands with prompt injections delivered through project-specific rules or other mechanisms.

Impact

Exploitation of this vulnerability could lead to arbitrary code execution on the user's machine.

Remediation

Users can update to Cursor version 2025.09.17-25b418f to address this vulnerability.

Added: Oct 3, 2025, 6:17 PM
Updated: Oct 3, 2025, 6:17 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
10.0
exploitability
6.4
remediation
7.7
relevance
0.6
threat
0.0
urgency
2.9
incentive
0.8

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.