Cursor bypasses its allow list to execute arbitrary commands

CVE Details

Basic Information

Title Cursor bypasses its allow list to execute arbitrary commands
Type cve
Published 2025-08-01T23:05:02.617Z
Modified 2025-08-01T23:05:02.617Z

Product Information

Vendor cursor
Product cursor
Version < 1.3

CVSS Information

Base Score 6.4 (MEDIUM)
Attack Vector CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H

AI Analysis

AI Description A vulnerability in Cursor versions below 1.3 allows attackers to bypass the allow list using backticks or $(cmd), enabling arbitrary command execution without user approval. This issue is fixed in version 1.3.
AI Severity High
AI Vendor Cursor
AI Product Cursor
AI Version < 1.3

Affected Products

  • cursor cursor < 1.3

Additional Information

CWE List CWE-77
Source GitHub_M

Description

Cursor is a code editor built for programming with AI. In versions below 1.3, an attacker can bypass the allow list in auto-run mode with a backtick (`) or $(cmd). If a user has swapped Cursor from its default settings (requiring approval for every terminal call) to an allowlist, an attacker can execute arbitrary command execution outside of the allowlist without user approval. An attacker can trigger this vulnerability if chained with indirect prompt injection. This is fixed in version 1.3.

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.