cd /news/ai-safety/researchers-escaped-four-top-ai-codi… · home topics ai-safety article
[ARTICLE · art-67291] src=thenextweb.com ↗ pub= topic=ai-safety verified=true sentiment=↓ negative

Researchers escaped four top AI coding agents’ sandboxes without ever breaking them

Pillar Security found that four top AI coding agents — Cursor, OpenAI's Codex, Google's Gemini CLI, and Antigravity — can be made to cross their security boundaries via prompt injection, without technically breaking the sandbox. The researchers identified seven bugs across four failure modes, including denylists that cannot keep pace with the OS, workspace config that is really code, trusted command names that ignore arguments, and privileged local daemons outside the box. Cursor patched its flaw (CVE-2026-48124) in version 3.0.0, OpenAI fixed a Codex bug and paid a bounty, but Google classified both Antigravity findings as hard to exploit and did not patch.

read2 min views1 publishedJul 21, 2026
Researchers escaped four top AI coding agents’ sandboxes without ever breaking them
Image: Thenextweb (auto-discovered)

The tools are Cursor, OpenAI’s Codex, Google’s Gemini CLI, and Antigravity. Over several months, Pillar Security found ways for each agent to cross its security boundary while staying, technically, inside the box.

The escape that isn’t one #

The trick is neat. These sandboxes trust the agent inside the project folder and protect the host outside. But the files in that folder are not inert.

Tools running outside the sandbox read them. A Python extension resolves an interpreter, a Git integration scans a repo, Docker Desktop exposes a local socket. So a file the agent is allowed to write can become a command the host later runs, as BleepingComputer explains.

The trigger is prompt injection. A malicious instruction hidden in a README, an issue, a dependency, or a diff turns into a real action on the developer’s machine.

Seven bugs, four patterns #

Pillar sorts seven findings into four failure modes: denylists that cannot keep pace with the operating system, workspace config that is really code, “safe” command lists that trust a name over its arguments, and privileged local daemons that sit outside the box entirely.

The fixes are mostly in. In Cursor, a workspace hook config that ran unsandboxed commands is now CVE-2026-48124, patched in version 3.0.0. OpenAI fixed a Codex flaw where a “safe” Git command was not, and paid a bounty. One Docker-socket bug hit Cursor, Codex, and Gemini CLI at once.

Google shrugged #

Google’s response stood out. It classified both Antigravity findings as “other valid security vulnerabilities,” downgraded their severity as hard to exploit, and did not patch, Neowin reported. It did, however, call one report “of exceptional quality.”

Pillar’s counter is that “hard to exploit” is doing a lot of work. The bugs need a developer to trust a poisoned repository, which is exactly the everyday risk these agents introduce.

Agents are the new endpoint #

The bigger point is a shift in thinking. An agent’s blast radius, Pillar argues, is not the agent process. It is everything the agent can write that the host later trusts.

“If an agent gets to write the future inputs of systems, it was never sandboxed in the first place,” the team wrote. The pattern is not new, but its breadth is: four tools, three vendors. It lands the same week OpenAI revealed its own model kept slipping its sandbox, part of a wider reckoning over AI-agent security.

What to ask now #

For anyone choosing an agentic coding tool, the useful question has changed. It is no longer whether the agent has a sandbox. It is what happens to the files it leaves behind, and who runs them next.

Get the TNW newsletter #

Get the most important tech news in your inbox each week.

── more in #ai-safety 4 stories · sorted by recency
── more on @pillar security 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/researchers-escaped-…] indexed:0 read:2min 2026-07-21 ·