Cursor
Cursor's Modification of MCP Server Definitions Bypasses Manual Re-approvals
Cursor is a code editor built for programming with AI. In versions 1.2.4 and below, attackers can achieve remote and persistent code execution by modifying an already trusted MCP configuration file inside a shared GitHub repository or editing the file locally on the target's machine. Once a collaborator accepts a harmless MCP, the attacker can silently swap it for a malicious command (e.g., calc.exe) without triggering any warning or re-prompt. If an attacker has write permissions on a user's active branches of a source repository that contains existing MCP servers the user has previously approved, or allows an attacker has arbitrary file-write locally, the attacker can achieve arbitrary code execution. This is fixed in version 1.3.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.3
Fixed in 1.3
Mitigation
Upgrade cursor to 1.3 or later.
References
- Vendor advisory github.com/cursor/cursor/security/advisories/G…
Timeline
Days relative to CVE publicationFirst public PoC 214 days after publication; not in CISA KEV. First PoC: felixbillieres/MCP-POC (created 3 Mar 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs · 1 pending · 3 informational
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| felixbillieres/MCP-POC | 3 Mar 2026 +214 d | 0 | PoC via PoC Index |
Pending 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Sushank05/mcp-doorman | 8 Jul 2026 +340 d | 0 | Pending |
Informational 3
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| PRE5T0/CVE-2025-54136 | 15 Jan 2026 +166 d | backfilled | 0 | Informational · write-up |
| GeeksikhSecurity/ai-tool-poisoning-guard | 7 Sep 2026 +1.1 y | backfilled | 0 | Informational · detection
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| glebgorelikov-droid/agentgate | 10 Nov 2026 +1.3 y | 14 Nov 2026 | 0 | Informational · detection |
Only PoCs count toward the first-PoC date and the characteristics below. "Backfilled" means we found the repository more than 30 days after it was created. Do not run PoC code from unknown sources.