PoC Monitor
← All CVEs
CVE-2025-54136published 1 Aug 2025 23:08 UTCData: JSON · API

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.

First public PoC 214 daysafter publication · 3 Mar 2026
Public PoCs11 on GitHub
CVSS8.8high · scored by NVD · CWE-78
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

cursor cursor
  • < 1.3

Fixed in 1.3

Mitigation

Upgrade cursor to 1.3 or later.

References

Timeline

Days relative to CVE publication
t=0+30+60+90+120+150+180+210CVE published1 Aug 2025 · t = 0First public PoC3 Mar 2026 · t+214d

First 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
RepositoryCreatedStarsAssessment
felixbillieres/MCP-POC 3 Mar 2026 +214 d 0 PoC via PoC Index
Pending 1
RepositoryCreatedStarsAssessment
Sushank05/mcp-doorman 8 Jul 2026 +340 d 0 Pending
Informational 3
RepositoryCreatedFound by usStarsAssessment
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
  • no network code found (normal for a local exploit)

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.