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

No configuration.

History

03 Oct 2025, 18:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-10-03 18:15

Updated : 2025-10-03 18:15


NVD link : CVE-2025-61593

Mitre link : CVE-2025-61593

CVE.ORG link : CVE-2025-61593


JSON object : View

Products Affected

No product.

CWE
CWE-94

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

CWE-178

Improper Handling of Case Sensitivity