Arbitrary Code Execution Vulnerability in Cursor Code Editor by Cursor Inc.
CVE-2025-54131
6.4MEDIUM
What is CVE-2025-54131?
An issue exists in the Cursor Code Editor where, in versions prior to 1.3, an attacker can circumvent the allow list in auto-run mode, allowing for arbitrary command execution. This exploit can occur when users have configured the editor to operate under an allowlist regime instead of requiring explicit approval for each terminal call. Attackers may exploit this vulnerability in conjunction with indirect prompt injection techniques, enabling unauthorized commands to be executed without user consent. This vulnerability has been remediated in version 1.3 of the product.
Affected Version(s)
cursor < 1.3
