Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2025-64107
VULNERABILITY

CVE-2025-64107

Common Vulnerabilities and Exposures record

HIGH

Summary

Cursor is a code editor built for programming with AI. In versions 1.7.52 and below, manipulating internal settings may lead to RCE. Cursor 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. This issue is fixed in version 2.0.

Risk

CVSS
8.8
Severity
HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Timeline

Published
Nov 4, 2025 23:15
Modified
Oct 19, 2026 13:10
Last observed
Oct 20, 2026 19:29

CWE

CWE-22

Affected product identifiers

cpe:2.3:a:anysphere:cursor:*:*:*:*:*:windows:*:*

References