# CVE-2025-61593: Cursor CLI Agent: Sensitive File Overwrite Bypass

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Published: 2025-10-03T17:28:03.214Z
- Modified: 2026-10-19T17:10:00.173Z
- Weaknesses: CWE-94, CWE-178
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- cursor cursor: <= 1.7
- anysphere cursor: up to 1.7

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/cursor/cursor/security/advisories/GHSA-x2vq-h6v6-jhc6> (vendor-advisory)

## Sources

- CVE List: [CVE-2025-61593](https://www.cve.org/CVERecord?id=CVE-2025-61593), CVE Terms of Use, modified 2025-10-03
- NVD: [CVE-2025-61593](https://nvd.nist.gov/vuln/detail/CVE-2025-61593), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-61593 · Whole record: https://cve.day/CVE-2025-61593.json · Rebuilt by cve.day 2026-11-25T22:59:05.487Z
