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

19 Oct 2026, 13:10

Type Values Removed Values Added
Summary
  • (es) Cursor es un editor de código diseñado para programar con IA. En las versiones 1.7.52 e inferiores, la manipulación de la configuración interna puede conducir a RCE. Cursor detecta la manipulación de rutas a través de barras diagonales (./.cursor/./././././mcp.json, etc.), y requiere aprobación humana para completar la operación. Sin embargo, el mismo tipo de manipulación usando barras invertidas no fue detectado correctamente, permitiendo a un atacante que ya había logrado la inyección de prompts o algún otro nivel de control sobrescribir archivos sensibles del editor sin aprobación en máquinas Windows. Este problema está solucionado en la versión 2.0.

Information

Published : 2025-11-04 23:15

Updated : 2026-10-19 13:10


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')