CursorGHSA-534m-3w6r-8pqr
Bypassing allow list to execute an arbitrary command
Medium6.4CVE-2025-54131 · Published Aug 1, 2025
### 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
| Package | Affected | Fixed in |
|---|---|---|
| Cursor Product | < 1.3 | 1.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| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Aug 22025 | Arbitrary code execution from Cursor Agent through a prompt injection via MCP Special Files | High8.5 | 1.3.9 |
| Aug 22025 | Arbitrary code execution from Cursor Agent through a prompt injection via Editor Special Files | High7.5 | 1.3.9 |
| Aug 12025 | Arbitrary Image Fetch in Mermaid Diagram Tool | Medium4.4 | 1.3 |
| Aug 12025 | MCP Install Deeplink Did Not Show Arguments on User-Dialog | Medium | 1.3 |
| Aug 12025 | Modification of MCP Server Definitions Bypasses Manual Re-approval | High7.2 | 1.3 |
| Jun 192025 | IDOR in Usage API Leading to Unauthorized Data Exposure | Medium4.3 | 2025-06-17 |