Vulnerability in Anysphere Cursor
CVE-2025-59944
Cursor is a code editor built for programming with AI. Versions 1.6.23 and below contain case-sensitive checks in the way Cursor IDE protects its sensitive files (e.g., */.cursor/mcp.json), which allows attackers to modify the content of these files through prompt injection and achieve remote code execution. A prompt injection can lead to full RCE through modifying sensitive files on case-insensitive fileystems. This issue is fixed in version 1.7.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.0 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.004 (32.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 32nd percentile — 32.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: +0.000
Affected products
- Anysphere Cursor
- Cursor — versions < 1.7
Weakness classification (CWE)
References
- github.com/cursor/cursor/security/advisories/GHSA-xcwh-rrwj-gxc7 (Vendor Advisory)
Frequently asked questions
- What is CVE-2025-59944?
- CVE-2025-59944 is a high-severity vulnerability in Anysphere Cursor, classified under Improper Handling of Case Sensitivity. CVSS score: 8.0/10. Published 2025-10-03.
- How severe is CVE-2025-59944?
- High severity. CVSS v3 base score is 8.0 out of 10.