{"id":"CVE-2025-61593","state":"PUBLISHED","title":"Cursor CLI Agent: Sensitive File Overwrite Bypass","description":"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.","publishedAt":"2025-10-03T17:28:03.214Z","updatedAt":"2025-10-03T18:30:34.784Z","severity":{"score":7.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["cursor cursor"],"affected":[{"vendor":"cursor","product":"cursor","versions":[{"version":"<= 1.7","status":"affected"}]}],"references":["https://github.com/cursor/cursor/security/advisories/GHSA-x2vq-h6v6-jhc6"],"weaknesses":["CWE-178","CWE-94"],"ingestedAt":"2026-10-29T20:09:48.677Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/61xxx/CVE-2025-61593.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-61593","state":"PUBLISHED","datePublished":"2025-10-03T17:28:03.214Z","dateUpdated":"2025-10-03T18:30:34.784Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-09-26T16:25:25.150Z"},"containers":{"cna":{"title":"Cursor CLI Agent: Sensitive File Overwrite Bypass","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"cursor","product":"cursor","versions":[{"version":"<= 1.7","status":"affected"}]}],"references":[{"url":"https://github.com/cursor/cursor/security/advisories/GHSA-x2vq-h6v6-jhc6","name":"https://github.com/cursor/cursor/security/advisories/GHSA-x2vq-h6v6-jhc6","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-178","lang":"en","description":"CWE-178: Improper Handling of Case Sensitivity","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-94","lang":"en","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-10-03T17:28:03.214Z"},"source":{"advisory":"GHSA-x2vq-h6v6-jhc6","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-10-03T18:29:56.514135Z","id":"CVE-2025-61593","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-10-03T18:30:34.784Z"}}]}}}