Cursor 'CurXecute' CVE-2025-54135: prompt injection rewrites MCP config
Listed: it resets no counter.
Aim Labs showed that a prompt injection delivered through an MCP server, such as a Slack message, could make Cursor's agent write ~/.cursor/mcp.json without approval. That executed attacker commands even if the user rejected the suggested edit. It was fixed in Cursor 1.3.
- Disclosed
- Aug 1, 2025
- Tags
- cursor, cve-2025-54135, mcp
What it did to the counters
-
sandbox vulnerability
It's listed, but doesn't reset the counter.