Skip to content
HighVulnerabilityLLM-specific

CVE-2025-59944: Cursor IDE case-sensitive file protection bypass allowing code execution

Identifier
CVE-2025-59944
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%

Summary

CVE-2025-59944 affects Cursor, an AI-assisted code editor, in versions 1.6.23 and below. Its protection for sensitive files such as */.cursor/mcp.json uses case-sensitive checks, so on case-insensitive filesystems an attacker can use prompt injection to modify those files and achieve remote code execution. The source classifies the weakness as CWE-178, Improper Handling of Case Sensitivity.

Mitigation

This issue is fixed in version 1.7.