PT-2025-45061 · Cursor · Cursor

Published

2025-11-04

·

Updated

2025-12-01

·

CVE-2025-64107

CVSS v3.1

8.8

High

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Cursor versions 1.7.52 and below
Description Cursor, a code editor built for programming with AI, is susceptible to remote code execution (RCE) due to improper handling of path manipulation. The editor correctly detects and requires approval for path manipulation attempts using forward slashes. However, it fails to detect similar manipulation using backslashes on Windows machines. This allows an attacker with existing prompt injection or control to overwrite sensitive editor files without authorization.
Recommendations Update to version 2.0.

Exploit

Fix

RCE

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2025-64107
GHSA-2JR2-8WF5-V6PF

Affected Products

Cursor