AI agents can escape sandboxes without ever breaking them
- Published
- Record updated
Summary
Pillar Security disclosed vulnerabilities showing that AI coding agents in Cursor, Codex, Gemini CLI, and Antigravity can cross security boundaries without breaking their sandboxes. The agent writes files, such as workspace configurations, virtual environments, and IDE tasks, that trusted host-side tools later execute or interpret outside the sandbox. The researchers identified four repeatable failure modes, including denylist sandboxes, executable workspace configurations, command allowlists that trust command names, and privileged local daemons such as Docker Desktop's.
Mitigation
The researchers recommended treating workspace configurations that can trigger execution as sensitive assets, requiring explicit approval before agents create or modify host-side automation, ensuring helper processes operate under the same security policy as direct agent execution, and preserving provenance that distinguishes user-created files from repository- or agent-generated content. Organizations were also advised to model security policies around command side effects rather than process invocation, limit access to privileged local services, and monitor trust handoffs throughout the development workflow.
Topics
Related items
- MediumCVE-2026-127061: IBM Langflow OSS flaw lets authenticated attacker obtain sensitive informationSimilar attack, NVD/CVE Database
- HighCVE-2026-122088: IBM Langflow OSS code execution through expression evaluationSimilar attack, NVD/CVE Database
- MediumCVE-2026-120628: IBM Langflow OSS flaw in MCP tool handling exposes data, deletes flowsSimilar attack, NVD/CVE Database
- HighCVE-2026-120601: IBM Langflow OSS command execution with elevated privilegesSimilar attack, NVD/CVE Database
- MediumCVE-2026-120087: IBM Langflow OSS directory traversal exposing arbitrary filesSimilar attack, NVD/CVE Database