{"id":"CVE-2025-54130","published":"2025-08-05T00:12:28Z","modified":"2025-08-05T13:57:58Z","title":"Cursor Agent is vulnerable prompt injection via Editor Special Files","vendor":"cursor","product":"cursor","tier":"tail","description":{"text":"Cursor is a code editor built for programming with AI. Cursor allows writing in-workspace files with no user approval in versions less than 1.3.9. If the file is a dotfile, editing it requires approval but creating a new one doesn't. Hence, if sensitive editor files, such as the .vscode/settings.json file don't already exist in the workspace, an attacker can chain a indirect prompt injection vulnerability to hijack the context to write to the settings file and trigger RCE on the victim without user approval. This is fixed in version 1.3.9.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00661,"percentile":0.46451,"provenance":"source"},"cwes":[{"id":"CWE-285","name":"Improper Authorization"}],"references":[{"url":"https://github.com/cursor/cursor/security/advisories/GHSA-vqv7-vq92-x87f","tags":["x_refsource_CONFIRM"]}],"priority":{"score":14.5,"factors":[{"name":"EPSS percentile","points":9.29},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"cursor","affectedVersions":[{"vendor":"cursor","product":"cursor","versions":["< 1.3.9"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-08-05T13:57:48.252186Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-23568","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-cursor-cve-2025-54130","children":[{"from":"CVE-2025-54130","to":"CVE-2025-61590","relation":"bypass","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"bypass","quote":"This leads to a bypass of CVE-2025-54130 which can lead to RCE by writing to the settings section.","from":"CVE.org","in":"CVE-2025-61590"}]}]}}