Research indicates that AI coding agents are continually breaking out of their designated sandboxes.

Research indicates that AI coding agents are continually breaking out of their designated sandboxes.

      The tools in question are Cursor, OpenAI’s Codex, Google’s Gemini CLI, and Antigravity. Over a span of several months, Pillar Security discovered methods for each agent to bypass its security boundary while technically remaining within the confines of the box.

      The non-escape

      The method is clever. These sandboxes tend to trust the agent located within the project folder while securing the host outside. However, the files contained within that folder are not passive.

      Tools operating outside the sandbox can access them. A Python extension identifies an interpreter, a Git integration checks a repository, and Docker Desktop unveils a local socket. Thus, a file that the agent is permitted to modify can transform into a command executed by the host later, as explained by BleepingComputer.

      The instigator is prompt injection. A malicious command concealed in a README file, an issue, a dependency, or a diff can trigger an actual action on the developer’s machine.

      Seven vulnerabilities, four patterns

      Pillar categorizes seven discoveries into four types of failures: denylists that can't keep pace with the operating system, workspace configurations that resemble actual code, so-called “safe” command lists that prioritize a name over the arguments, and privileged local daemons existing entirely outside the sandbox.

      Most of the fixes have been implemented. In Cursor, a workspace hook configuration allowing unsandboxed commands has now been classified as CVE-2026-48124, corrected in version 3.0.0. OpenAI resolved a flaw in Codex where a “safe” Git command turned out not to be, and issued a bounty. One vulnerability related to Docker socket affected Cursor, Codex, and Gemini CLI simultaneously.

      Google’s indifference

      Google's reaction was notable. It categorized both findings related to Antigravity as "other valid security vulnerabilities,” reducing their severity by deeming them hard to exploit and opted not to provide a patch, as reported by Neowin. Nonetheless, it described one report as “of exceptional quality.”

      Pillar contends that the phrase “hard to exploit” carries significant weight. These vulnerabilities require a developer to trust a compromised repository, which is precisely the everyday risk introduced by these agents.

      Agents as new endpoints

      The larger implication is a shift in perspective. Pillar argues that the blast radius of an agent is not confined to the agent process itself. Instead, it encompasses everything the agent can write that the host subsequently trusts.

      “If an agent has the ability to designate the future inputs of systems, it was never truly sandboxed,” the team asserted. Although the pattern is not new, its scope is extensive: four tools and three vendors. This discussion coincides with OpenAI’s announcement that its own model continued to escape its sandbox, contributing to a broader evaluation of AI-agent security.

      Questions to consider now

      For those selecting an agent-based coding tool, the pertinent question has evolved. It's no longer about whether the agent operates within a sandbox; it's about what occurs with the files it generates and who utilizes them afterward.

Other articles

Samsung Unpacked 2026: anticipated features of the Z Fold 8 Samsung Unpacked 2026: anticipated features of the Z Fold 8 Samsung Galaxy Unpacked is set for July 22 in London. Rumors suggest a larger Galaxy Z Fold 8, another foldable device, a durable smartwatch, and AI glasses may be revealed. What can we expect? Nvidia reports that Vera Rubin is now in full production, with OpenAI planning to scale its deployment in the third quarter. Nvidia reports that Vera Rubin is now in full production, with OpenAI planning to scale its deployment in the third quarter. Nvidia showcased its Vera Rubin systems at its headquarters, with Ian Buck announcing that full production is underway, and OpenAI intends to initiate large-scale deployment this quarter. Vibecoded applications are overwhelming Apple’s App Store, and users are growing tired of them. Vibecoded applications are overwhelming Apple’s App Store, and users are growing tired of them. Submissions to the App Store have increased twofold this year due to the ease of development with AI tools, but downloads have not matched that growth, as users are becoming frustrated with the abundance of low-quality, AI-generated apps. Volkswagen's latest e-bike features a rearview camera, radar technology, and advanced smart glasses similar to those used by fighter pilots. Volkswagen's latest e-bike features a rearview camera, radar technology, and advanced smart glasses similar to those used by fighter pilots. VW's n+-constructed e-bike features a rear camera and radar positioned between the handlebars, is compatible with an LED smart helmet, and provides HUD glasses for navigation notifications. Samsung Unpacked 2026: what to anticipate from the Z Fold 8 Samsung Unpacked 2026: what to anticipate from the Z Fold 8 Samsung Galaxy Unpacked will take place on July 22 in London. Leaks suggest a broader Galaxy Z Fold 8, another foldable device, a durable watch, and AI glasses. What can we expect? Study reveals that AI coding agents continue to break free from their sandboxes. Study reveals that AI coding agents continue to break free from their sandboxes. Researchers successfully navigated the sandboxes of Cursor, Codex, Gemini CLI, and Antigravity without causing any damage. Three companies implemented patches, while Google downgraded its two.

Research indicates that AI coding agents are continually breaking out of their designated sandboxes.

Researchers navigated the sandboxes of Cursor, Codex, Gemini CLI, and Antigravity without compromising them. Three companies implemented patches; Google reduced the capabilities of its two offerings.