CVE-2025-62354 Details
Description
Improper neutralization of special elements used in an OS command ('command injection') in Cursor allows an unauthorized attacker to execute commands that are outside of those specified in the allowlist, resulting in arbitrary code execution.
A command injection vulnerability has been identified in Cursor versions 1.3.4 prior to 2.0. This issue allows unauthorized attackers to execute arbitrary commands by bypassing the application's command allowlist. The vulnerability arises when Cursor is in autorun mode with the 'Follow Allowlist' setting enabled. Exploitation is possible by using brace expansion in zsh or bash, allowing attackers to manipulate allowlisted commands to execute unauthorized actions, such as file deletion.
Cursor has confirmed that a fix is available. Users are advised to update to the latest version.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 26, 2025CISA-ADP
Assessed Nov 26, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://hiddenlayer.com/sai_security_advisor/2025-11-cursor/ | HiddenLayer | AdvisoryExploitRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | HiddenLayer |
Affected Products
| Product | Versions |
|---|---|
| Cursor | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 18, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | HiddenLayer |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 26, 2025 | New CVE Received | HiddenLayer |
Volerion