CVE Intelligence

Vulnerabilidades de Cursor

🔔 Criar alerta RSS

CVEs publicadas que afetam produtos de Cursor: 13 registro(s), com severidade, exploração e correções.

Somente exploradas (KEV) →

CVE-2026-61613 Alta · 7.7 CWE-306 15/07/2026
Cursor: Cloud Agent Browser Sandbox Escape
Cursor is a code editor built for programming with AI. Prior to the Cloud Agent fix on 03/31/2026, browser-enabled Cursor Cloud Agent sessions allowed attacker-controlled web content to connect from inside the agent container to an unauthenticated local agent endpoint, enabling code execution within the affected Cloud Agent sandbox or session and access to files, repository contents, environment variables, credentials, and GitHub App access tokens available to that session. This issue was fixed on 03/31/2026 by requiring authentication for the relevant agent endpoint.
CVE-2026-50549 Crítica · 9.8 CWE-59 25/06/2026
Falha de Link Following no Anysphere Cursor Permite Escrita Fora do Workspace
O Cursor é um editor de código criado para programação com IA. Antes da versão 3.0, o Cursor executa comandos de terminal do agente em um sandbox por padrão. Antes de uma operação de escrita, o agente canonicaliza o caminho de destino para confirmar que ele permanece dentro do workspace, mas, quando a canonicalização falha, recorre ao caminho original e escreve sem aprovação. Um agente malicioso pode criar um link simbólico dentro do workspace apontando para fora dele e forçar a falha da canonicalização, seja porque o alvo não existe, seja porque a permissão de leitura é removida do caminho, de modo que o agente escreva através do link simbólico em um local arbitrário sem aprovação. Um agente malicioso poderia escrever arquivos arbitrários fora do workspace com os privilégios do usuário. Isso possibilita Execução Remota de Código fora do sandbox, por exemplo sobrescrevendo o auxiliar cursorsandbox para que comandos posteriores sejam executados sem sandbox, sem nenhuma interação do usuário além de um prompt benigno. Esta vulnerabilidade está corrigida na versão 3.0.
CVE-2026-50548 Crítica · 9.8 CWE-22 25/06/2026
Path Traversal no diretório de trabalho do sandbox do agente no Cursor
O Cursor é um editor de código criado para programação com IA. Antes da versão 3.0, o Cursor executa comandos de terminal do agente em um sandbox por padrão, e o sandbox concede acesso de escrita ao diretório de trabalho do comando. Foi identificada uma falha na forma como o agente podia modificar o parâmetro working_directory, o que podia fazer com que o sandbox incluísse caminhos graváveis fora do workspace pretendido. Um agente malicioso poderia definir working_directory para um local sensível e gravar arquivos arbitrários fora do workspace com os privilégios do usuário. Isso permite Remote Code Execution sem sandbox, por exemplo sobrescrevendo o auxiliar cursorsandbox para que comandos posteriores sejam executados sem sandbox, sem interação do usuário além de uma solicitação benigna. Esta vulnerabilidade está corrigida na versão 3.0.
CVE-2026-48124 Alta · 8.5 CWE-94 15/06/2026
Cursor Desktop sandbox escape via Claude hook configuration
Cursor is a code editor built for programming with AI. In versions prior to 3.0.0, the Cursor Desktop could execute workspace-defined Claude hook commands from .claude/settings.local.json without dedicated user approval. A malicious workspace or agent-created file could configure hooks that run local commands in the user's context when an agent turn ends. This could allow sandbox escape, persistence across turns, local data access, or follow-on compromise. This issue has been fixed in version 3.0.0.
CVE-2026-31854 Alta · 8.8 CWE-78 11/03/2026
Cursor Affected by Arbitrary Code Execution via Prompt Injection and Whitelist Bypass
Cursor is a code editor built for programming with AI. Prior to 2.0 ,if a visited website contains maliciously crafted instructions, the model may attempt to follow them in order to “assist” the user. When combined with a bypass of the command whitelist mechanism, such indirect prompt injections could result in commands being executed automatically, without the user’s explicit intent, thereby posing a significant security risk. This vulnerability is fixed in 2.0.
CVE-2026-26268 Crítica · 9.9 CWE-862 13/02/2026
Cursor sandbox escape via Git hooks
Cursor is a code editor built for programming with AI. Sandbox escape via writing .git configuration was possible in versions prior to 2.5. A malicious agent (ie prompt injection) could write to improperly protected .git settings, including git hooks, which may cause out-of-sandbox RCE next time they are triggered. No user interaction was required as Git executes these commands automatically. Fixed in version 2.5.
CVE-2026-22708 Crítica · 9.8 CWE-77 14/01/2026
Cursor has a Terminal Tool Allowlist Bypass via Environment Variables
Cursor is a code editor built for programming with AI. Prior to 2.3, hen the Cursor Agent is running in Auto-Run Mode with Allowlist mode enabled, certain shell built-ins can still be executed without appearing in the allowlist and without requiring user approval. This allows an attacker via indirect or direct prompt injection to poison the shell environment by setting, modifying, or removing environment variables that influence trusted commands. This vulnerability is fixed in 2.3.
CVE-2025-62354 Crítica · 9.8 CWE-78 26/11/2025
OS Command Injection em Cursor
Improper neutralization of special elements used in an OS command ('command injection') in Cursor allows an unauthorized attacker to execute commands that are outside of those specified in the allowlist, resulting in arbitrary code execution.
CVE-2025-64110 Alta · 7.5 CWE-284 04/11/2025
Cursor: Authentication Bypass Possible via New Cursorignore Write
Cursor is a code editor built for programming with AI. In versions 1.7.23 and below, a logic bug allows a malicious agent to read sensitive files that should be protected via cursorignore. An attacker who has already achieved prompt injection, or a malicious model, could create a new cursorignore file which can invalidate the configuration of pre-existing ones. This could allow a malicious agent to read protected files. This issue is fixed in version 2.0.
CVE-2025-64109 Alta · 8.8 CWE-78 04/11/2025
Cursor CLI Beta: Command Injection via Untrusted MCP Configuration
Cursor is a code editor built for programming with AI. In versions and below, a vulnerability in the Cursor CLI Beta allowed an attacker to achieve remote code execution through the MCP (Model Context Protocol) server mechanism by uploading a malicious MCP configuration in .cursor/mcp.json file in a GitHub repository. Once a victim clones the project and opens it using Cursor CLI, the command to run the malicious MCP server is immediately executed without any warning, leading to potential code execution as soon as the command runs. This issue is fixed in version 2025.09.17-25b418f.
CVE-2025-64108 Alta · 8.8 CWE-22 04/11/2025
Cursor's Sensitive File Modification can Lead to NTFS Path Quirks
Cursor is a code editor built for programming with AI. In versions 1.7.44 and below, various NTFS path quirks allow a prompt injection attacker to circumvent sensitive file protections and overwrite files which Cursor requires human approval to overwrite. Modification of some of the protected files can lead to RCE. Must be chained with a prompt injection or malicious model attach. Only affects systems supporting NTFS. This issue is fixed in version 2.0.
CVE-2025-64107 Alta · 8.8 CWE-22 04/11/2025
Cursor is Vulnerable to Path Manipulation Using Backslashes on Windows
Cursor is a code editor built for programming with AI. In versions 1.7.52 and below, manipulating internal settings may lead to RCE. Cursor detects path manipulation via forward slashes (./.cursor/./././././mcp.json etc.), and requires human approval to complete the operation. However, the same kind of manipulation using backslashes was not correctly detected, allowing an attacker who had already achieved prompt injection or some other level of control to overwrite sensitive editor files without approval on Windows machines. This issue is fixed in version 2.0.
CVE-2025-64106 Alta · 8.8 CWE-78 04/11/2025
Cursor: Speedbump Modal Bypass in MCP Server Deep-Link
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.