ELSEIF
Your brief EB
344 stories from 110 feeds 394 clusters Refreshed 13 minutes ago next pull 14:52

INFRA Signal 464

Cursor Patched Allowlist Bypass Where Shell Built-ins Silently Enabled Arbitrary Code Execution

CVE-2026-22708 in Cursor allowed shell built-ins (export, typeset, declare) to execute without approval, letting attackers silently change environment variables so that commands a developer approved ran attacker code instead.

WHY IT MATTERS

Allowlists are the primary safety mechanism most teams rely on for AI coding agents, and this bypass worked even with a completely empty allowlist. The attack turns a legitimate approval of a harmless command into arbitrary code execution, undermining the trust model that allowlists are built on.

Written by elseif from the cluster below · every claim links back to a source

The three things worth knowing

01

Shell built-ins (export, typeset, declare) bypassed Cursor's allowlist because the checker only looked for programs on disk, not built-in commands.

02

Attackers could set environment variables like PAGER so that approved commands such as git branch ran attacker code instead of their intended action.

03

The bypass worked even with a completely empty allowlist, Cursor's most restrictive setting, and was patched in version 2.3.

THE CLUSTER

Same story, 1 feed.

ORDERED BY FIRST SEEN
Docker Coding Agent Horror Stories: The Command You Already Approved Open ↗