RCE in Anysphere Cursor
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.
Vulnerability class: RCE (Remote Code Execution)
EPSS: 0.004 (30.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H.
Affected products
- Anysphere Cursor
- Cursor — versions <= 1.7
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (x_refsource_CONFIRM, Vendor Advisory)
Frequently asked questions
- What is CVE-2025-61593?
- CVE-2025-61593 is a high-severity vulnerability in Anysphere Cursor, classified under Code Injection. CVSS score: 7.1/10. Published 2025-10-03.
- How severe is CVE-2025-61593?
- High severity. CVSS v3 base score is 7.1 out of 10.
- Is CVE-2025-61593 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.