CVE-2025-61593

Cursor is a code editor built for programming with AI. In versions 1.7 and below, a vulnerability in the way Cursor CLI Agent protects its sensitive files (i.e. */.cursor/cli.json) allows attackers to modify the content of the files through prompt injection, thus achieving remote code execution. A prompt injection can lead to full RCE through modifying sensitive files on case-insensitive filesystems. This issue is fixed in a commit, 25b418f, but has yet to be released as of October 3, 2025.
Configurations

Configuration 1 (hide)

cpe:2.3:a:anysphere:cursor:*:*:*:*:*:*:*:*

History

09 Oct 2025, 17:30

Type Values Removed Values Added
CPE cpe:2.3:a:anysphere:cursor:*:*:*:*:*:*:*:*
First Time Anysphere cursor
Anysphere
References () https://github.com/cursor/cursor/security/advisories/GHSA-x2vq-h6v6-jhc6 - () https://github.com/cursor/cursor/security/advisories/GHSA-x2vq-h6v6-jhc6 - Vendor Advisory

03 Oct 2025, 18:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-10-03 18:15

Updated : 2025-10-09 17:30


NVD link : CVE-2025-61593

Mitre link : CVE-2025-61593

CVE.ORG link : CVE-2025-61593


JSON object : View

Products Affected

anysphere

  • cursor
CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')

CWE-178

Improper Handling of Case Sensitivity