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 Copilot SDK is becoming the Microsoft Copilot SDK: what builders of AI products should know

On 28 October 2026 GitHub said its Copilot SDK is being renamed Microsoft Copilot SDK, the programmable layer for the shared Microsoft and GitHub agent harness. No immediate action is needed.

Read ›

GitHub Agent Merge: Copilot now watches your pull requests and fixes what blocks the merge

On 28 October 2026 GitHub added Agent Merge to pull requests: a 'Watch and fix' option where Copilot repairs failing Actions workflows and merge conflicts in the cloud, optionally with auto-merge.

Read ›

Claude Code 2.1.314 adds a setting that blocks AI file writes outside the project folder

Claude Code 2.1.314 (30 October 2026) adds permissions.blockWritesOutsideWorkingDirectories, so Claude's file-editing tools refuse any path outside the project in every permission mode.

Read ›

GitHub Enterprise now includes Copilot: seats are bundled, AI usage moves to your budget

From 28 October 2026 account-team customers can get Copilot included with every GitHub Enterprise licence, with AI usage metered against an enterprise budget from the first request. Standalone Copilot is $10 per user per month.

Read ›

GitHub Copilot Fusion goes GA: one pick, many models, and a 30% launch discount

On 28 October 2026 GitHub made Copilot Fusion generally available: instead of choosing a model, developers pick an effort level and Copilot routes each task across models. Paid plans get 30% off model costs for a limited time.

Read ›

GitHub Agentic Workflows is generally available: automations written in plain Markdown

On 28 October 2026 GitHub made Agentic Workflows generally available: AI agents that triage issues, analyse CI failures and update docs, defined in Markdown and run inside GitHub Actions with read-only defaults.

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