# CVE-2025-59944: Cursor IDE: Sensitive File Overwrite Bypass is Possible

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Published: 2025-10-03T20:15:30.678Z
- Modified: 2026-10-19T16:10:00.260Z
- Weaknesses: CWE-178
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- cursor cursor: < 1.7
- anysphere cursor: up to 1.6.23

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/cursor/cursor/security/advisories/GHSA-xcwh-rrwj-gxc7> (vendor-advisory)

## Sources

- CVE List: [CVE-2025-59944](https://www.cve.org/CVERecord?id=CVE-2025-59944), CVE Terms of Use, modified 2025-10-03
- NVD: [CVE-2025-59944](https://nvd.nist.gov/vuln/detail/CVE-2025-59944), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-59944 · Whole record: https://cve.day/CVE-2025-59944.json · Rebuilt by cve.day 2026-11-25T22:59:05.506Z
