CVE-2025-54131CWE-77

Cursor bypasses its allow list to execute arbitrary commands

Medium · published August 1, 2025

CVSS v3.1
6.4
EPSS
1%
Percentile
42.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.4 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00514 · 42.9th percentile
Weakness
CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection')
Published
2025-08-01T23:05Z
EPSS history
Timeline
  • 01 AUG 23:05Z
    Cursor bypasses its allow list to execute arbitrary commands
    cvelistv5