THE PERMISSION [LAYER]

AI agent incident

A two-click Cursor exploit handed over developer environments

Reported · 1 source

What happened

Researchers disclosed a two-click exploit in the Cursor coding agent that let an attacker take over a developer's environment and reach secrets and source code.

Why it matters

Two clicks is a low enough bar that ordinary developer curiosity is enough to trigger it, and the blast radius is whatever credentials the workstation holds.

Sources

  1. Dark Reading 2-Click Cursor Exploit Enables Dev Environment Takeover

New incidents by email

Get incidents like this one in your inbox

New AI agent incidents are covered in the briefing, with what to check on the agents you already run. At least once a week, free.

You confirm by email. Unsubscribe in one click.

Background reading

What is agent identity? An explainer on the problem behind this incident.

Cite or correct this record

“A two-click Cursor exploit handed over developer environments.” The Permission Layer AI Agent Incident Database, https://thepermissionlayer.com/incidents/cursor-two-click-takeover/. Database updated October 22, 2026.

Every record traces to the dated sources above. If something here is wrong or missing, email [email protected] and it gets fixed. See this record in the full list.

The Permission Layer

Get the briefing by email

At least one email a week on AI agent identity, permissions, security and spend, written for the people who approve agent access. Five-minute read, free.

You confirm by email. Unsubscribe in one click.