CVE-2025-64107

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:anysphere:cursor:*:*:*:*:*:windows:*:*

History

10 Nov 2025, 19:54

Type Values Removed Values Added
CPE cpe:2.3:a:anysphere:cursor:*:*:*:*:*:windows:*:*
References () https://github.com/cursor/cursor/security/advisories/GHSA-2jr2-8wf5-v6pf - () https://github.com/cursor/cursor/security/advisories/GHSA-2jr2-8wf5-v6pf - Vendor Advisory
First Time Anysphere
Anysphere cursor

04 Nov 2025, 23:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-11-04 23:15

Updated : 2025-11-10 19:54


NVD link : CVE-2025-64107

Mitre link : CVE-2025-64107

CVE.ORG link : CVE-2025-64107


JSON object : View

Products Affected

anysphere

  • cursor
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')