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

> CVE-2025-59944: Cursor IDE: Sensitive File Overwrite Bypass is Possible. CVSS 8.1 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2025-59944
Last updated: 2026-10-19T16:10:00Z

- Published: 2025-10-03 20:15 UTC · Updated: 2026-10-19 16:10 UTC · Assigner: GitHub\_M
- CVSS: 8.1 (CVSS 3.1) · Severity: High · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
- EPSS: 0.51%, 43th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-178

## 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.

## Affected vendors and products

- cursor: cursor

## Tracked companies

- [Cursor](https://rewindex.com/company/cursor.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2025-59944)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2025-59944)
- [https://github.com/cursor/cursor/security/advisories/GHSA-xcwh-rrwj-gxc7](https://github.com/cursor/cursor/security/advisories/GHSA-xcwh-rrwj-gxc7)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2025-59944 · Markdown: https://rewindex.com/cve/CVE-2025-59944.md · JSON: https://rewindex.com/api/v1/cves/CVE-2025-59944 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:11:03.674Z
