CursorGHSA-6r98-6qcw-rxrw
Sensitive File Modification - NTFS Path Quirks
Fix: upgrade to 2.0 or later
Summary
Various NTFS path quirks allow a prompt injection attacker to circumvent sensitive file protections and overwrite files which Cursor requires human approval to overwrite.
Details
Short path and data stream syntax in NTFS paths can break Cursor's sensitive path detection, allowing an attacker to modify a protected file without Cursor asking for human approval.
Impact
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.
Remediation
Paths are now normalized for NTFS before guardrails are applied.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| Cursor Product | < 2.0 | 2.0 |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Severity from
- GitHub (reviewed advisory)