{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-61592","id":"CVE-2025-61592","title":"Cursor CLI: Arbitrary Code Execution Possible through Permissive CLI Config","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 permis","descriptionLong":"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.","published":"2025-10-03T17:23:37.743Z","updated":"2026-10-19T17:10:00.173Z","reserved":"2025-09-26T16:25:25.150Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"github.com"}],"rating":"high","products":["cursor"],"affectedProducts":[{"vendor":"cursor","product":"cursor","defaultStatus":null,"versions":[{"version":"<= 1.7","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-829"],"aliases":[],"references":[{"url":"https://github.com/cursor/cursor/security/advisories/GHSA-v64q-396f-7m79","tags":["x_refsource_CONFIRM","Vendor Advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00455,"epssPercentile":0.40148,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-61592","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-61592","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-61592","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-61592","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}