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 AI usage API now returns per-model token counts, so Copilot spend can finally be traced to models

GitHub's AI credit usage REST API now returns six raw token counts per model for enterprises, organisations and individuals, giving Copilot cost tracking a real audit trail.

Read ›

Claude Code 2.1.335: add remote MCP servers from the terminal, a new Interrupt hook, and a harness audit for older models

Claude Code 2.1.335 adds a one-line command to register remote MCP servers as claude.ai connectors, an Interrupt hook event and a /claude-api harness-audit command for agent code written for older models.

Read ›

GitHub Copilot model controls shift: Claude Opus 4.8 (fast) retired, targeted model rules end 12 January 2027

GitHub retired Claude Opus 4.8 (fast) in Copilot on 30 November and is closing the targeted organisation model rules preview, with migration on 12 January 2027.

Read ›

Claude Code 2.1.334: REVIEW.md now works at folder level, plus a model search box and a visible auto-compact setting

Claude Code 2.1.334 extends REVIEW.md so AI code reviews follow rules held in folders, adds a search box for long model lists and shows the auto-compact window in settings.

Read ›

GitHub Copilot for JetBrains adds scheduled automations in preview and drops support for IDE 2025.2

GitHub Copilot for JetBrains can now run automated tasks on a schedule (preview), adds Microsoft Foundry and Azure OpenAI models to its agent, and no longer supports JetBrains IDEs 2025.2.

Read ›

Claude Code 2.1.333: REVIEW.md shapes AI code reviews, and you can stop one workflow agent

Claude Code 2.1.333 lets teams write their code review rules in a REVIEW.md file, lets one running agent in a workflow be stopped without halting the rest, and changes how permission lists are passed in scripts.

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