Vulnerabilities · 2025 · Anysphere
CVE-2025-64107
Anysphere Cursor vulnerability
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.
Affected products
Cursor. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Anysphere Cursor runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
More vulnerabilities in Anysphere products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.