CVE-2025-61591

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:anysphere:cursor:*:*:*:*:*:*:*:*

History

19 Oct 2026, 17:10

Type Values Removed Values Added
Summary
  • (es) Cursor es un editor de código construido para programar con IA. En las versiones 1.7 e inferiores, cuando MCP utiliza autenticación OAuth con un servidor MCP no confiable, un atacante puede suplantar a un servidor MCP malicioso y devolver comandos elaborados y maliciosamente inyectados durante el proceso de interacción, lo que lleva a la inyección de comandos y a una potencial ejecución remota de código. Si se encadena con un servicio MCP no confiable a través de OAuth, esta vulnerabilidad de inyección de comandos podría permitir la ejecución de código arbitrario en el host por parte del agente. Esto puede entonces ser utilizado para comprometer directamente el sistema ejecutando comandos maliciosos con privilegios de usuario completos. Este problema no tiene actualmente una versión de lanzamiento corregida, pero existe un parche, 2025.09.17-25b418f.

Information

Published : 2025-10-03 17:15

Updated : 2026-10-19 17:10


NVD link : CVE-2025-61591

Mitre link : CVE-2025-61591

CVE.ORG link : CVE-2025-61591


JSON object : View

Products Affected

anysphere

  • cursor
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')