{"id":"CVE-2025-61593","aliases":["CVE-2025-61593"],"related":[],"kind":"vulnerability","state":"published","title":"Cursor CLI Agent: Sensitive File Overwrite Bypass","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-10-03T17:28:03.214Z","modified":"2026-10-19T17:10:00.173Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","score":7.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-94","CWE-178"],"affected":[{"ranges":[{"version":"<= 1.7","status":"affected"}],"vendor":"cursor","product":"cursor","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"1.7"}],"vendor":"anysphere","product":"cursor","cpe":"cpe:2.3:a:anysphere:cursor:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/cursor/cursor/security/advisories/GHSA-x2vq-h6v6-jhc6","tags":["vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-03T18:29:56.514Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-61593","url":"https://www.cve.org/CVERecord?id=CVE-2025-61593","licence":"CVE Terms of Use","modified":"2025-10-03T18:30:34.784Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-61593","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-61593","licence":"Public domain","modified":"2026-10-19T17:10:00.173Z"}],"updatedAt":"2026-11-25T22:59:05.487Z","epss":{"score":0.00421,"percentile":0.38413,"date":"2026-12-01T12:00:22.000Z"}}