OAuth Authentication Vulnerability in Cursor Code Editor by Cursor
CVE-2025-61591
8.8HIGH
What is CVE-2025-61591?
The Cursor code editor, used for programming with AI, contains a command injection vulnerability in versions 1.7 and below. This occurs when the editor utilizes OAuth authentication with a potentially untrusted MCP server. Malicious actors can exploit this flaw to impersonate the MCP server, delivering crafted commands during user interactions. If successful, an attacker can execute arbitrary commands on the host system, compromising it by gaining full user privileges. Currently, no stable version addresses this issue, although a patch (2025.09.17-25b418f) is available to mitigate the risk.
Affected Version(s)
cursor <= 1.7