CVE-2025-61593

Cursor is a code editor built for programming with AI. In versions 1.7 and below, a vulnerability in the way Cursor CLI Agent protects its sensitive files (i.e. */.cursor/cli.json) allows attackers to modify the content of the files through prompt injection, thus achieving remote code execution. A prompt injection can lead to full RCE through modifying sensitive files on case-insensitive filesystems. This issue is fixed in a commit, 25b418f, but has yet to be released as of October 3, 2025.
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, una vulnerabilidad en la forma en que Cursor CLI Agent protege sus archivos sensibles (es decir, */.cursor/cli.json) permite a los atacantes modificar el contenido de los archivos a través de la inyección de prompts, logrando así la ejecución remota de código. Una inyección de prompts puede llevar a una RCE completa mediante la modificación de archivos sensibles en sistemas de archivos que no distinguen entre mayúsculas y minúsculas. Este problema está solucionado en un commit, 25b418f, pero aún no se ha lanzado a partir del 3 de octubre de 2025.

Information

Published : 2025-10-03 18:15

Updated : 2026-10-19 17:10


NVD link : CVE-2025-61593

Mitre link : CVE-2025-61593

CVE.ORG link : CVE-2025-61593


JSON object : View

Products Affected

anysphere

  • cursor
CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')

CWE-178

Improper Handling of Case Sensitivity