CVE-2025-64107CWE-22path-traversal

CVE-2025-64107

High · published November 5, 2025

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

⚡ A sneaky backslash is your enemy here! Cursor code editor versions 1.7.52 and below let you exploit a flaw that allows remote code execution without a peep from the system! Think of it like a restaurant where you can order a dish using a secret code. The staff checks your order when you mention certain keywords, but if you slip in a sneaky phrase, they might serve up a different meal entirely — that's how the backslash bypasses the checks! An attacker with some level of control can overwrite sensitive files in the editor, potentially leading to a total takeover of the system. This could mean losing critical code or even giving attackers full access to your development environment — absolutely devastating!

Put simply

Think of it like a restaurant where you can order a dish using a secret code. The staff checks your order when you mention certain keywords, but if you slip in a sneaky phrase, they might serve up a different meal entirely — that's how the backslash bypasses the checks! This vulnerability arises because Cursor fails to correctly detect path manipulation when using backslashes on Windows. Instead of requiring human approval for sensitive file operations, an attacker can exploit this oversight after gaining initial access through prompt injection or similar methods.

What to do

An attacker with some level of control can overwrite sensitive files in the editor, potentially leading to a total takeover of the system. This could mean losing critical code or even giving attackers full access to your development environment — absolutely devastating! To protect your projects, update Cursor to version 2.0 immediately. Additionally, review any existing security policies around code execution and validate file paths to prevent further risks. Don't forget to check for the same vulnerabilities in your other tools! You've got this! Follow these steps to shore up your defenses and keep your coding environment secure! 🛡️

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.00382 · 31.1th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2025-11-05T04:15Z
Affected products (1)
ProductVersionsFixed in
anysphere/cursor< 2.02.0
References (1)
EPSS history
Timeline
  • 04 NOV 22:51Z
    Cursor is Vulnerable to Path Manipulation Using Backslashes on Windows
    cvelistv5