← All advisories

CVE-2025-54136highAgent hijacking2025-08

CVE-2025-54136 (“MCPoison”): approved MCP servers could be silently swapped

In Cursor 1.2.4 and below, once you approved an MCP server, an attacker with write access could change its command without any re-prompt.

01.

What it is

NVD: attackers can achieve remote and persistent code execution by modifying an already trusted MCP configuration file in a shared GitHub repo. Fixed in 1.3: Cursor now asks for approval every time an mcpServer entry changes.

02.

How to check

  1. Confirm Cursor 1.3+; review git history of .cursor/mcp.json in shared repos.
03.

How to fix

  1. Update Cursor and require code review for changes to MCP config files (e.g. CODEOWNERS).
# .github/CODEOWNERS — force review of AI agent config
.cursor/      @your-security-reviewer
.cursorrules  @your-security-reviewer
04.

Sources

More advisories for this tool
The weekly email

One email a week. Only what changed.

Every new security hole in AI coding tools, MCP servers, app builders and the stacks they generate (Next.js, Supabase, Node, PHP), each with how to check your app and the fix. No roundups of things you already read.

Free, one email a week. Read the latest issue first if you like. One-click unsubscribe in every email. We never sell or share addresses.