AI and data stack advisories

Severe, 6 weeks1498Projects326

1498 severe, 6 weeks · 326 projects

CursorGHSA-534m-3w6r-8pqr

Bypassing allow list to execute an arbitrary command

Cursor

CVE-2025-54131 · Published Aug 1, 2025

Medium6.4
Fix: upgrade to 1.3 or later
GitHub advisory

Summary

An attacker can bypass allow list in auto-run mode with backtick(\) character or $(cmd)`.

Impact

If a user has swapped Cursor from it's 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.

Remediation

The allowlist logic has switched to a more robust parser.

Affected versions

PackageAffectedFixed in
Cursor
Product
< 1.31.3
Details and references
CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
Severity from
GitHub (reviewed advisory)

More Cursor advisories

All Cursor