CVE-2026-31854: Cursor is a code editor built for programming with AI. Prior to 2.0 ,if a visited website contains maliciously crafted i
Summary
Cursor is a code editor designed for programming with AI assistance. Before version 2.0, the software was vulnerable to prompt injection attacks (tricking the AI by hiding malicious instructions in website content), which could bypass the command whitelist (a list of allowed commands) and cause the AI to execute commands without the user's permission. This is a serious security flaw rated as HIGH severity.
Solution / Mitigation
This vulnerability is fixed in version 2.0.
Vulnerability Details
EPSS: 0.0%
March 11, 2026
Classification
Affected Vendors
Related Issues
Original source: https://nvd.nist.gov/vuln/detail/CVE-2026-31854
First tracked: March 11, 2026 at 04:07 PM
Classified by LLM (prompt v3) · confidence: 92%