Cursor Flaw Lets Malicious Cloned Repositories Trigger Windows Code Execution
Open a repository in Cursor on Windows and, if a file named git.exe is sitting in the project root, Cursor runs it. No click, no approval dialog, no warning that anything in the folder is about to execute. Whatever that binary does, it does as you, with your source, your SSH keys...
The Hacker News
Source

Generated insight by OnAirToday AI
This critical vulnerability highlights the inherent risks of integrating execution environments with code repositories, especially when file naming conventions can be weaponized. Developers must exercise extreme caution with untrusted repositories, as seemingly benign actions like opening a project can lead to severe system compromise, potentially exposing sensitive credentials.
Get the day's AI news in one short email. Free.
Comments
Keep comments relevant and respectful. No links, advertising, self-promotion, or spam.