{"id":"CVE-2025-61592","published":"2025-10-03T17:23:37Z","modified":"2025-10-03T18:29:26Z","title":"Cursor CLI: Arbitrary Code Execution Possible through Permissive CLI Config","vendor":"cursor","product":"cursor","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00471,"percentile":0.41582,"provenance":"source"},"cwes":[{"id":"CWE-829","name":"Inclusion of Functionality from Untrusted Control Sphere"}],"references":[{"url":"https://github.com/cursor/cursor/security/advisories/GHSA-v64q-396f-7m79","tags":["x_refsource_CONFIRM"]}],"priority":{"score":14.5,"factors":[{"name":"EPSS percentile","points":8.32},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"cursor","affectedVersions":[{"vendor":"cursor","product":"cursor","versions":["<= 1.7"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-10-03T18:29:16.001627Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-33204","exploited":false,"provenance":"source"}}