CVE-2025-64107
Last modified
CVE-2025-64107 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.52 and below, manipulating internal settings may lead to RCE. EPSS estimates a 0.31% chance of exploitation in the next 30 days.
Description
Cursor is a code editor built for programming with AI. In versions 1.7.52 and below, manipulating internal settings may lead to RCE. Cursor detects path manipulation via forward slashes (./.cursor/./././././mcp.json etc.), and requires human approval to complete the operation. However, the same kind of manipulation using backslashes was not correctly detected, allowing an attacker who had already achieved prompt injection or some other level of control to overwrite sensitive editor files without approval on Windows machines. This issue is fixed in version 2.0.
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 | < 2.0 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-64107?
How severe is CVE-2025-64107?
How do I fix CVE-2025-64107?
Are you affected by CVE-2025-64107?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
