Modification of MCP Server Definitions Bypasses Manual Re-approval
CVE-2025-54136 · GHSA-24mc-g4xr-4395 · published 2025-08-01
- Severity
- High
- CVSS score
- 7.2
- Chance of exploitation (EPSS)
- Not scored
- Fixed in
- 1.3
- Exploitation No known exploitation
- Automatable No
- Technical impact Total
- CISA SSVC
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.
Upgrade cursor to 1.3 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
Cursor now requires user approval every time an mcpServer entry is modified (in addition to the existing behavior of asking for approval when a new server is added).
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| cursor | App | < 1.2.4 | 1.3 |
- CriticalUnauthenticated Remote Code Execution in Langflow via Public Flow Build EndpointlangflowExploited
- CriticalRay is vulnerable to Critical RCE via Safari & Firefox Browsers through DNS Rebinding AttackrayExploited
- CriticalLangflow Unauth RCElangflow, langflow-baseExploited
- HighLiteLLM: Authenticated command execution via MCP stdio test endpointslitellmExploited
- CriticalMLflow vulnerable to remote code execution on unauthenticated servers via third-party scorer deserialization importing caller-placed artifacmlflow
- CriticalAgno: Arbitrary code execution via `eval()` on `field_type` in `FunctionCall`agno
- CriticalCursor Desktop sandbox escape via agent-controlled working directorycursor
- CriticalCursor Desktop sandbox escape via symlink and failed path canonicalizationcursor
- HighSandbox escape via tampered Python virtual environmentscursor
- HighSandbox escape via launching privileged containerscursor
- HighCursor Desktop sandbox escape via Claude hook configurationcursor
- HighSandbox escape via Git hookscursor
The impact, patch and workaround text comes from the advisory, shortened (published by Cursor). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.