8.8high
Cursor is Vulnerable to Path Manipulation Using Backslashes on Windows
- Severity
- 8.8high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.39% (higher than 35% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| cursor cursor | < 2.0 | CVE List |
| anysphere cursor | before 2.0 | NVD |
All scores
| GitHub_M | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-64107 changed 2025-11-07 | CVE Terms of Use |
| NVD | CVE-2025-64107 changed 2026-10-19 | Public domain |