CVE-2025-61593
Last modified
CVE-2025-61593 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 0.38% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Anysphere | Cursor | <= 1.7 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-61593?
How severe is CVE-2025-61593?
How do I fix CVE-2025-61593?
Are you affected by CVE-2025-61593?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
