CVE-2025-64107
highpriority · track · 35EPSS 0.004 · 31 %ileEUUSEPSS · scored 2026-10-23
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (2)
Products and version ranges known to be affected.
also known as (2)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (5)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2025-64107cnnvd
- https://cursor.com/cnPatchcnnvd
- https://github.com/cursor/cursor/security/advisories/GHSA-2jr2-8wf5-v6pfcnnvd
- https://github.com/cursor/cursor/security/advisories/GHSA-2jr2-8wf5-v6pfenisa_euvd
- https://github.com/cursor/cursor/security/advisories/GHSA-2jr2-8wf5-v6pfVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan