AI product flaw · high · 4 August 2025
Prompt injection in Cursor could rewrite its MCP config and run commands (CurXecute)
Content fed to the agent from an MCP source could make it write .cursor/mcp.json, which ran attacker commands before the user approved the edit.
Why it qualifies
The attack works through prompt injection against the AI coding agent.