← All stories
● Covered by 1 source · 1 reportHigh impact

Four AI coding agents affected by sandbox escape vulnerabilities

Security researchers have demonstrated sandbox escape vulnerabilities in Cursor, OpenAI's Codex, Google's Gemini CLI, and Antigravity. These vulnerabilities exploit file interactions that allow the sandboxed agents to trigger commands outside their protected environment, highlighting significant security shortcomings in AI coding tools.

Key points

  • Sandbox escapes affect Cursor, Codex, Gemini CLI, and Antigravity.
  • Exploits leverage file interactions to trigger commands outside sandbox.
  • Most issues have been patched, including CVE-2026-48124 for Cursor.

Overview of the Vulnerabilities

Researchers from Pillar Security identified sandbox escape vulnerabilities in four popular AI coding agents: Cursor, Codex, Gemini CLI, and Antigravity. The researchers showcased how these agents could write files that execute unintended commands on the host system without directly compromising the sandbox environment.

Mechanics of the Exploits

The key to the escape mechanisms lies in how sandboxes interact with files and external tools. While sandboxed agents appear to adhere to strict confinement rules, they can manipulate workspace files that external tools utilize. This manipulation can lead to executing arbitrary commands once a malicious payload is planted within the environment, such as a README or code diff.

Findings and Failure Modes

Pillar Security categorized their findings into four primary failure modes: inadequately managed denylist sandboxes, executable code in workspace configurations, unsafe command allowlists, and privileged daemons operating outside sandbox limits. These categories illustrate the various ways in which current sandbox implementations fall short of ensuring security.

Vendor Responses and Patches

Many of the identified vulnerabilities have been acknowledged by vendors and subsequently patched. For instance, Cursor's issues include a workspace-controlled hook configuration leading to unsandboxed execution and arbitrary modification of the virtualenv interpreter, now corrected in version 3.0.0. OpenAI has also addressed vulnerabilities in Codex with an updated version, v0.95.

Implications for the Tech Industry

These security vulnerabilities highlight a critical weakness in the current implementation of sandboxes in AI coding tools, potentially exposing developers to risks when utilizing these technologies. As AI tools become more integrated into development workflows, ensuring these agents operate securely will be vital to maintaining trust and safety in software deployment.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~23 min · 20 stories · Jul 20

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

Security researchers have demonstrated sandbox escape vulnerabilities in Cursor, OpenAI's Codex, Google's Gemini CLI, and Antigravity. These vulnerabilities exploit file interactions that allow the sandboxed agents to trigger commands outside their protected environment, highlighting significant security shortcomings in AI coding tools.