← Back

CVE-2025-61591

nvd nist
Published: Oct 3, 2025Modified: Oct 17, 2025

JSON object

Loading...
8.8
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Exploitability: 2.8 / Impact: 5.9
Source: security-advisories@github.com (Secondary)

Description

Cursor is a code editor built for programming with AI. In versions 1.7 and below, when MCP uses OAuth authentication with an untrusted MCP server, an attacker can impersonate a malicious MCP server and return crafted, maliciously injected commands during the interaction process, leading to command injection and potential remote code execution. If chained with an untrusted MCP service via OAuth, this command injection vulnerability could allow arbitrary code execution on the host by the agent. This can then be used to directly compromise the system by executing malicious commands with full user privileges. This issue does not currently have a fixed release version, but there is a patch, 2025.09.17-25b418f.

Affected (1)

Products: Anysphere: Cursor
1 product
Cursor
Configuration A
1 vulnerable
Vulnerable SoftwareAffected Versions
Up to 1.7

References (1)

Source: security-advisories@github.com
Vendor Advisory

Timeline

No history available yet.