CVE-2025-64107
BaseFortify
Publication date: 2025-11-04
Last updated on: 2025-11-10
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| anysphere | cursor | to 2.0 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-22 | The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability exists in Cursor code editor versions 1.7.52 and below, where manipulating internal settings using backslash path characters on Windows machines bypasses the editor's detection of path manipulation. While forward slash manipulations require human approval, backslash manipulations were not properly detected, allowing an attacker with some level of control (like prompt injection) to overwrite sensitive editor files without approval. This can lead to remote code execution (RCE).
How can this vulnerability impact me? :
If exploited, this vulnerability can allow an attacker to overwrite sensitive files in the Cursor editor without user approval, potentially leading to remote code execution. This means an attacker could execute arbitrary code on your system, compromising confidentiality, integrity, and availability of your environment.
What immediate steps should I take to mitigate this vulnerability?
Upgrade Cursor to version 2.0 or later, as this version fixes the vulnerability related to backslash path manipulation allowing unauthorized file overwrites on Windows machines.