BotBeat
...
← Back

> ▌

Google / AlphabetGoogle / Alphabet
RESEARCHGoogle / Alphabet2026-07-22

Security Researchers Expose Sandbox Escape Vulnerabilities in Major AI Coding Agents

Key Takeaways

  • ▸Sandbox escape vulnerabilities identified across 4 AI coding agents from 3 major vendors using a unified attack vector: trusted tools outside the sandbox reading files the agent wrote inside
  • ▸Vulnerabilities do not require breaking the sandbox directly—agents can obey all sandbox rules while enabling privilege escalation through workspace file manipulation
  • ▸Most vendors have patched or acknowledged issues with CVE tracking and bounty payments; Google uniquely downgraded severity due to perceived exploitation difficulty
Source:
Hacker Newshttps://www.bleepingcomputer.com/news/security/cursor-codex-gemini-cli-antigravity-hit-by-sandbox-escapes/↗

Summary

Security researchers at Pillar Security discovered sandbox escape vulnerabilities in four widely used AI coding agents: Cursor, OpenAI's Codex CLI, Google's Gemini CLI, and Antigravity. Rather than attacking the sandbox directly, the researchers exploited a fundamental architectural flaw: sandboxed agents are trusted to write files inside the workspace, but tools running outside the sandbox (Python extensions, Git integrations, VS Code tasks, Docker daemons) read and execute those files, allowing a compromised agent to trigger unsandboxed code execution.

Pillar's research team, led by Eilon Cohen, Dan Lisichkin, and Ariel Fogel, identified four failure modes: denylist sandboxes that cannot keep pace with OS changes, workspace configurations that double as executable code, "safe" command allowlists that trust command names rather than arguments, and privileged local daemons operating outside sandbox boundaries. Specific findings included Cursor's .claude hook config vulnerability (CVE-2026-48124, patched in v3.0.0), virtualenv editor exploitation, Git metadata bypasses, and a Docker socket issue affecting multiple tools.

Most vendors have acknowledged and patched the vulnerabilities. OpenAI released fixes in Codex CLI v0.95.0 with a high-severity bounty, while Google downgraded the severity of its Antigravity findings as "difficult to exploit," though praising the research quality. This research highlights a systemic issue: the same failure pattern was independently documented by Cymulate in April across Claude Code, Gemini CLI, and Codex CLI, suggesting the problem is widespread rather than isolated.

  • Pillar's research reveals a systemic architectural pattern ("Configuration-Based Sandbox Escape") previously identified by Cymulate, indicating a broader design challenge in AI coding agent security
  • Solutions require monitoring the boundary where trusted local tools execute code written by the agent, not just banning filenames

Editorial Opinion

This research exposes a critical architectural tension in AI coding agents: sandboxes must grant agents enough file-write access to be useful (generating code, configs, hooks), yet tools outside the sandbox inevitably read and execute those files without verification. The fact that identical failure modes appear across independent vendors suggests this isn't a series of implementation bugs but a fundamental design challenge. While patches are rolling out, the broader lesson is that sandbox-based security for developer tools requires careful choreography between isolated and trusted components—something that cannot be secured by denylist rules alone.

AI AgentsMLOps & InfrastructureCybersecurityAI Safety & Alignment

More from Google / Alphabet

Google / AlphabetGoogle / Alphabet
FUNDING & BUSINESS

Google Beats Quarterly Revenue Expectations on Strong Enterprise AI Adoption

2026-07-22
Google / AlphabetGoogle / Alphabet
FUNDING & BUSINESS

Reddit Considers Blocking Google's AI Access as Stock Price Declines

2026-07-22
Google / AlphabetGoogle / Alphabet
POLICY & REGULATION

Google's Data Scraper Lawsuit Dismissed Over Insufficient Copyright Authority

2026-07-22

Comments

Suggested

Monday.comMonday.com
FUNDING & BUSINESS

Monday.com Lays Off 630 Employees (20% of Workforce) to Refocus on AI Platform

2026-07-22
WoolyAIWoolyAI
PRODUCT LAUNCH

WoolyAI Launches Private Multi-Agent Inference Server for DGX Spark Clusters

2026-07-22
UpstageUpstage
PRODUCT LAUNCH

Upstage Releases Solar Open 2: Open-Source Foundation Model Optimized for Agentic AI

2026-07-22
← Back to news
© 2026 BotBeat
AboutPrivacy PolicyTerms of ServiceContact Us