CVE-2025-59944
published high CVSS 3.1 · 8.1Cursor IDE: Sensitive File Overwrite Bypass is Possible
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| cursor | — | cursor< 1.7 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| cursor | cursor | < 1.7 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-178 CWE-178: Improper Handling of Case Sensitivity
References
1Provider assertions
2GitHub_M · cna
Cursor IDE: Sensitive File Overwrite Bypass is Possible
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e613d9546af33e18aad36d5e06a101576aa5cc2142483285ee363853acd04a4f
- Ingested
- 23 Sep 2026, 08:54:33 UTC
- Source record
- Official CVE record