MediumVulnerabilityLLM-specific
CVE-2025-54131: Cursor allow list bypass in auto-run mode via backtick or command substitution
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2025-54131
- Published
- Record updated
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.5%
Summary
CVE-2025-54131 affects Cursor, a code editor built for programming with AI, in versions below 1.3. When a user has switched from the default approval-for-every-terminal-call setting to an allowlist, an attacker can bypass the allow list in auto-run mode using a backtick (`) or $(cmd) and execute arbitrary commands without user approval. The flaw can be triggered when chained with indirect prompt injection.
Mitigation
This is fixed in version 1.3.
Topics
Related items
- MediumResearchers Uncover Prompt Adware Hidden in OpenAI Codex Jailbreak ToolkitSimilar attack · The Hacker News
- InfoTop agent skill security resources — November 2026Similar attack · Adversa AI Blog
- InfoHow to Turn AI Red Team Findings Into Runtime ControlsSimilar attack · Straiker Blog
- MediumCritical Langflow flaws enable authentication bypass and RCESimilar attack · CSO Online
- MediumDocker Sandboxes vulnerability lets AI agents access sensitive files outside their sandbox (CVE-2026-103916) | Endor LabsSimilar attack · Endor Labs Blog