AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

CursorGHSA-2jr2-8wf5-v6pf

Sensitive File Protection Bypass - Path Manipulation Using Backslashes on Windows

Cursor

CVE-2025-64107 · Published Nov 3, 2025

High8.8
Fix: upgrade to 2.0 or later
GitHub advisory

Summary

Cursor correctly 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.

Impact

Manipulating internal settings may lead to RCE. Must be chained with a prompt injection or malicious model. Only affects Windows.

Remediation

Parsing is not done correctly based on the underlying platform.

Affected versions

PackageAffectedFixed in
Cursor
Product
< 2.02.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)

More Cursor advisories

All Cursor