8.1high
Cursor IDE: Sensitive File Overwrite Bypass is Possible
- Severity
- 8.1high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.52% (higher than 45% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
Cursor is a code editor built for programming with AI. Versions 1.6.23 and below contain case-sensitive checks in the way Cursor IDE protects its sensitive files (e.g., */.cursor/mcp.json), which allows attackers to modify the content of these files through prompt injection and achieve remote code execution. A prompt injection can lead to full RCE through modifying sensitive files on case-insensitive fileystems. This issue is fixed in version 1.7.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| cursor cursor | < 1.7 | CVE List |
| anysphere cursor | up to 1.6.23 | NVD |
All scores
| GitHub_M | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/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. Versions 1.6.23 and below contain case-sensitive checks in the way Cursor IDE protects its sensitive files (e.g., */.cursor/mcp.json), which allows attackers to modify the content of these files through prompt injection and achieve remote code execution. A prompt injection can lead to full RCE through modifying sensitive files on case-insensitive fileystems. This issue is fixed in version 1.7.
NVD (es)
Cursor es un editor de código diseñado para programar con IA. Las versiones 1.6.23 e inferiores contienen comprobaciones sensibles a mayúsculas y minúsculas en la forma en que Cursor IDE protege sus archivos sensibles (p. ej., */.cursor/mcp.json), lo que permite a los atacantes modificar el contenido de estos archivos mediante inyección de prompts y lograr ejecución remota de código. Una inyección de prompts puede conducir a una RCE completa mediante la modificación de archivos sensibles en sistemas de archivos que no distinguen entre mayúsculas y minúsculas. Este problema se ha solucionado en la versión 1.7.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-59944 changed 2025-10-03 | CVE Terms of Use |
| NVD | CVE-2025-59944 changed 2026-10-19 | Public domain |