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.

Vulnerability

Sources

  1. The Hacker News: Cursor AI Code Editor Fixed Flaw Allowing Attackers to Run Commands via Prompt Injection thehackernews.com
  2. Cato Networks / Aim Labs: CurXecute RCE catonetworks.com

Sources: CISA KEV, NVD, DeFiLlama, vendor advisories, GitHub advisories and public security research. Events are selected by LLM triage and confirmed by a human.

Counters reset on the day an incident becomes public · days counted in UTC.

Know of an incident we missed? Write to tips@zerodays.party.