Four AI coding agents, one Docker socket — 'The Week of Sandbox Escapes' is this month's wake-up call on agent sandboxing

Pillar Security's late-July research series, 'The Week of Sandbox Escapes', reproduced sandbox breakouts across Cursor, OpenAI Codex CLI, Google Gemini CLI, and Google Antigravity, including a shared Docker-socket flaw and a Cursor CVE (CVE-2026-48124) — hard evidence for anyone searching 'are AI coding agents safe' before rolling one out beyond a sandbox.

Security researchers at Pillar Security spent the back half of July publishing “The Week of Sandbox Escapes,” a daily write-up series documenting sandbox breakouts and boundary bypasses across four of the most widely deployed AI coding agents: Cursor, OpenAI’s Codex CLI, Google’s Gemini CLI, and Google Antigravity. The pattern across almost every finding was the same: the agent itself never broke out of its sandbox directly. Instead, it wrote something that a trusted component sitting outside the sandbox later ran, loaded, or trusted as safe — turning a permitted file write into effectively unsandboxed code execution.

The clearest example hit three tools at once. Codex CLI, Cursor, and Gemini CLI all shared exposure to a local Docker socket that a privileged daemon left reachable outside the sandbox boundary, giving an agent a path to unsandboxed execution through a component nobody had thought to isolate. Pillar’s researchers grouped the underlying causes into four repeatable failure modes: denylist-based sandboxes that can’t keep pace with OS-level complexity, workspace configuration files that are effectively executable code in disguise, “safe command” allowlists that trust a command’s name rather than its full invocation, and privileged local daemons sitting entirely outside the sandbox’s reach. Cursor’s specific flaw — a workspace-controlled hook config that could escalate into unsandboxed command execution — was assigned CVE-2026-48124 and patched in version 3.0.0. Google classified its two Antigravity findings as lower-severity, judging them harder to exploit because they require either social engineering or a user trusting a repository carrying an indirect prompt injection.

So what

This isn’t a story about one vendor having a bad week — it’s evidence that “sandboxed” is doing a lot of unearned work as a trust signal across the entire AI coding agent category, echoing the pattern this site has tracked since GhostApproval and the Claude Code permission-bypass fixes earlier this month. If your team runs any AI coding agent — Cursor, Codex, Gemini CLI, Claude Code, or otherwise — with access to anything client-facing or production-adjacent, “it runs in a sandbox” is not sufficient due diligence on its own; patch status, daemon exposure, and workspace-config trust boundaries all matter. That’s exactly the governance and risk assessment we bring into AI-assisted development engagements — get in touch if you want your current AI coding setup reviewed before it becomes next month’s disclosure.

← All research

More research.

GitHub secret scanning cuts false alarms for AWS, Google and Alibaba cloud keys and adds a SpaceX detector

GitHub's 5 November 2026 secret scanning update tightens detectors for AWS, Google Cloud and Alibaba keys, relevant to teams building software with AI coding tools that can paste credentials into code.

Read ›

GitHub's Copilot code review can now be managed by API, with review effort levels and AI credit costs shown

GitHub's 6 November 2026 update lets organisations manage Copilot code review by API and see the review effort and AI credits each AI code review used, a sign AI-assisted development is becoming auditable.

Read ›

GitHub's Copilot impact dashboard now counts chat and VS Code agent use, and drops the 'passive users' label

On 6 November 2026 GitHub added Copilot Chat and the VS Code Agents window to its Copilot impact dashboard, bringing it to nine tracked experiences, and renamed 'Passive users' to 'Chat-first users'.

Read ›

Claude Code 2.1.319: a setting that denies permission prompts so AI agent runs don't stall

Claude Code 2.1.319 (6 November 2026) adds a permissions.denyInsteadOfPrompting setting and moves long MCP tool calls to the background, a sign AI-assisted development is being built for unattended runs.

Read ›

GitHub now reports how often developers act on Copilot code review comments

On 5 November 2026 GitHub added code review metrics, including an addressed rate, to the Copilot usage metrics API. For AI software development buyers, it is the first first-party number for how much AI review feedback is acted on.

Read ›

Dependabot can now keep AI agent skills and prompts up to date

GitHub's Dependabot gained Agent Package Manager (APM) support on 3 November 2026, treating AI agent skills, prompts and instructions as dependencies that need updating like any other software.

Read ›

Start a project

Building with AI? Let's talk.

Tell us what you are building. We'll give you an honest view of the right approach.

Start a projectSee our work