Code Execution Vulnerability in Cursor Desktop by Cursor
CVE-2026-48124
8.5HIGH
What is CVE-2026-48124?
The Cursor Desktop application, designed for AI programming, has a vulnerability that allows for the execution of workspace-defined Claude hook commands without user consent in versions prior to 3.0.0. An attacker could leverage a malicious workspace or agent-created file to configure hooks that execute local commands in the user's environment when an agent's turn concludes. This presents significant risks such as unauthorized access to local data, persistence of malicious actions, and potential follow-on compromises. It is crucial for users to update to version 3.0.0 to mitigate these risks.
Affected Version(s)
cursor < 3.0.0
