RCE in Cursor
CVE-2026-31854
Cursor is a code editor built for programming with AI. Prior to 2.0 ,if a visited website contains maliciously crafted instructions, the model may attempt to follow them in order to “assist” the user. When combined with a bypass of the com…
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.001 (18.5th percentile) — read the EPSS interpretation.
Affected products
- Cursor — versions < 2.0
Weakness classification (CWE)
References
- https://github.com/cursor/cursor/security/advisories/GHSA-hf2x-r83r-qw5q (x_refsource_CONFIRM)