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

Cursor sandbox escape flaws (CVE-2026-50548/50549) allow writes outside workspace

Two vulnerabilities in Cursor prior to version 3.0 let a malicious AI agent escape the terminal command sandbox — by manipulating the working_directory parameter or by forcing path canonicalization to fail via an in-workspace symlink — to write arbitrary files outside the workspace under the user's privileges, enabling non-sandboxed remote code execution. Both issues are fixed in Cursor 3.0.

Disclosed 25 June 2026 · Record updated 13 September 2026

Impact

A malicious agent could write arbitrary files outside the intended workspace under the user's privileges, for example overwriting the cursorsandbox helper so later commands run unsandboxed, achieving non-sandboxed remote code execution with no user interaction beyond a benign prompt.

Our coverage

No articles linked to this incident yet.

Sources

  1. nvd.nist.govhttps://nvd.nist.gov/vuln/detail/CVE-2026-50548
  2. nvd.nist.govhttps://nvd.nist.gov/vuln/detail/CVE-2026-50549