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.

EPSS: 0.004 (28.5th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

References

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.