# CVE-2025-61592: Cursor CLI: Arbitrary Code Execution Possible through Permissive CLI Config

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/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.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2025-10-03T17:23:37.743Z
- Modified: 2026-10-19T17:10:00.173Z
- Weaknesses: CWE-829
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Cursor is a code editor built for programming with AI. In versions 1.7 and below, automatic loading of project-specific CLI configuration from the current working directory (<project>/.cursor/cli.json) could override certain global configurations in Cursor CLI. This allowed users running the CLI inside a malicious repository to be vulnerable to Remote Code Execution through a combination of permissive configuration (allowing shell commands) and prompt injection delivered via project-specific Rules (<project>/.cursor/rules/rule.mdc) or other mechanisms. The fix for this issue is currently available as a patch 2025.09.17-25b418f. As of October 3, 2025 there is no release version.

(As written by CVE List.)

## Affected

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

## References

- <https://github.com/cursor/cursor/security/advisories/GHSA-v64q-396f-7m79> (vendor-advisory)

## Sources

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

---

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