PT-2025-31649
CVE-2025-54135
·
Published
2025-07-07
·
Updated
2026-11-21
Description by
CVSS 3.1
9.8
CriticalMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Cursor versions prior to 1.3.9
Description
Cursor, an AI-powered code editor, had a flaw that allowed writing files in the workspace without user approval in versions prior to 1.3.9. If a sensitive MCP file, such as
.cursor/mcp.json, did not exist, an attacker could chain an indirect prompt injection vulnerability to hijack the context and write to the settings file, triggering remote code execution (RCE) without user approval. The vulnerability, dubbed “CurXecute” (CVE-2025-54135), stems from the Model Context Protocol (MCP) and allows attackers to exploit prompt injection through various third-party MCP servers like Slack and GitHub. Exploitation could lead to ransomware attacks, data theft, and AI manipulation.Recommendations
Update to version 1.3.9 or later.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾