CVE Tools

CVE-2025-59944

Cursor IDE: Sensitive File Overwrite Bypass is Possible

Published: Oct 3, 2025Updated: Oct 16, 2025 Sources: CVE List NVDCWE-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.

CVSS Vector Breakdown

AV:NAC:HPR:LUI:RS:CC:HI:HA:H
Exploitability
AV:NAttack Vector
Network
AC:HAttack Complexity
High
PR:LPrivileges Required
Low
UI:RUser Interaction
Required
Scope
S:CScope
Changed
Impact
C:HConfidentiality
High
I:HIntegrity
High
A:HAvailability
High

Weaknesses

Affected Products

anyspherecommercialAI / MLaka anysphere ai
cursorcommercialUSDevTools & CIaka cursor ai

Exploitability

Official Patch Available

References

Timeline

Published
Oct 3, 2025
Last Updated
Oct 16, 2025

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2025-59944 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows