Cursor — Prompt Injection (CVE-2025-64108)
Date: 2025-11
Affected: anysphere/cursor
Attack vector: prompt-injection
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2025-64108
CWE: CWE-22
CWE-94
CVSS: 8.8 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)

Cursor is a code editor built for programming with AI. In versions 1.7.44 and below, various NTFS path quirks allow a prompt injection attacker to circumvent sensitive file protections and overwrite files which Cursor requires human approval to overwrite. Modification of some of the protected files can lead to RCE. Must be chained with a prompt injection or malicious model attach. Only affects systems supporting NTFS. This issue is fixed in version 2.0.


Mitigations:

Architectural layers (MAESTRO):