Sunday, 13 September 2026
8 agent hacks today 7 vs yesterday (1)

CVE-2026-31854: Cursor indirect prompt injection enables automatic command execution

A vulnerability in the Cursor AI code editor prior to version 2.0 allowed maliciously crafted instructions on visited websites to be followed by the model, and combined with a command whitelist bypass, could cause commands to run automatically without user intent. The issue is fixed in Cursor 2.0.

Disclosed 11 March 2026 · Record updated 13 September 2026

Impact

Indirect prompt injection combined with a command whitelist bypass could lead to unintended automatic command execution on the user's machine.

Our coverage

No articles linked to this incident yet.

Sources

  1. nvd.nist.govhttps://nvd.nist.gov/vuln/detail/CVE-2026-31854