CVE-2025-64108CWE-22CWE-94path-traversalcode-injection

CVE-2025-64108

High · published November 5, 2025

CVSS v3.1
8.8
EPSS
0%
Percentile
40.8
In the wild
Unconfirmed
What it is

⚡ A crafty prompt injection attack can sneak past file protections in Cursor versions 1.7.44 and below, opening the door to some serious mischief! 🔥 Think of it like a restaurant where the chef trusts the waiter to take orders without a double-check. If that waiter goes rogue and delivers a forged order, they could whip up a dish that’s not safe to serve — in this case, modifying protected files without anyone noticing! An attacker could exploit this vulnerability to overwrite crucial files required by Cursor, potentially paving the way for remote code execution (RCE). This is absolutely devastating, as it could compromise system integrity and lead to unauthorized access or control over systems supporting NTFS. One wrong move could unlock a treasure chest of chaos!

Put simply

Think of it like a restaurant where the chef trusts the waiter to take orders without a double-check. If that waiter goes rogue and delivers a forged order, they could whip up a dish that’s not safe to serve — in this case, modifying protected files without anyone noticing! This vulnerability arises from various NTFS path quirks allowing an attacker to bypass file protections and overwrite files that usually need human approval. When chained with a prompt injection or malicious model, it can lead to significant security breaches.

What to do

An attacker could exploit this vulnerability to overwrite crucial files required by Cursor, potentially paving the way for remote code execution (RCE). This is absolutely devastating, as it could compromise system integrity and lead to unauthorized access or control over systems supporting NTFS. One wrong move could unlock a treasure chest of chaos! To protect your systems, immediately upgrade Cursor to version 2.0. Additionally, implement strict file approval processes and regularly audit your code for potential prompt injection risks. Don't wait — secure your environment now! You've got this! Follow these steps and you'll be a security hero in no time. 🦸

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00485 · 40.8th percentile
Weaknesses
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'); CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2025-11-05T04:15Z
Affected products (1)
ProductVersionsFixed in
anysphere/cursor< 2.02.0
References (1)
EPSS history
Timeline
  • 04 NOV 22:58Z
    Cursor's Sensitive File Modification can Lead to NTFS Path Quirks
    cvelistv5