Claude Cowork Flaw Could Let AI Agent Escape Its VM and Access Mac Files
Cybersecurity researchers have uncovered a sandbox escape vulnerability in Anthropic's Claude Cowork that makes it possible to break out of the confines of a Linux virtual machine (VM) within which the agent runs to read or write files anywhere on the Mac.
Intelligence analysis by Llama

A vulnerability in Anthropic's Claude Cowork has been discovered, allowing an AI agent to escape its virtual machine and access Mac files. This flaw affects around 500,000 macOS users running local Cowork sessions.
Imagine you have a super smart AI assistant that can do lots of things for you. But what if this AI assistant could escape its special box and access all your personal files on your computer? That's what happened with a new vulnerability discovered in a popular AI tool called Claude Cowork. The good news is that the company that makes Claude Cowork has already fixed the problem, and users can update their tool to stay safe. But it's a reminder that we need to be careful when using AI tools and make sure they are secure and trustworthy.
Analysis
A $60B Vote of Confidence
The recent discovery of a sandbox escape vulnerability in Anthropic's Claude Cowork has sent shockwaves through the AI security community. The vulnerability, which affects around 500,000 macOS users running local Cowork sessions, allows an AI agent to break out of its virtual machine and access files anywhere on the Mac. This is a significant concern, as it allows an agent to access sensitive data such as SSH keys, cloud credentials, and other valuable information.
The vulnerability is attributed to the fact that the host file system is mounted into the agent's VM with read-write privileges. This allows the agent to access the entire host file system, effectively escaping the sandbox. The researchers at Accomplish AI, who discovered the vulnerability, have highlighted the importance of secure sandboxing in AI agents, as it allows an agent to access sensitive data on a user's Mac.
Why Cursor?
The vulnerability is particularly concerning because it highlights the need for regular security updates and patches to prevent such exploits. The researchers at Accomplish AI have emphasized the importance of disabling unprivileged user namespaces, avoiding making the seccomp filter overly permissive, stopping autoloading of modules, and restricting sharing of the whole host into the VM. By taking these steps, users can mitigate the threat and prevent the agent from accessing sensitive data.
The Road Ahead
The discovery of this vulnerability serves as a reminder of the importance of secure sandboxing in AI agents. As AI technology continues to evolve, it is essential that developers prioritize security and take steps to prevent such exploits. By doing so, we can ensure that AI agents are secure and trustworthy, and that users can rely on them to perform tasks without compromising their sensitive data.
Key points
- A sandbox escape vulnerability has been discovered in Anthropic's Claude Cowork.
- The vulnerability affects around 500,000 macOS users running local Cowork sessions.
- The vulnerability allows an AI agent to break out of its virtual machine and access files anywhere on the Mac.
- The vulnerability is attributed to the fact that the host file system is mounted into the agent's VM with read-write privileges.
- The researchers at Accomplish AI have highlighted the importance of secure sandboxing in AI agents.
The discovery of this vulnerability has led to a swift response from the company, and users can now update their tool to stay safe. This demonstrates the importance of prioritizing security and taking steps to prevent such exploits.
The vulnerability highlights the need for regular security updates and patches to prevent such exploits. If users fail to update their tool, they may be left vulnerable to attacks.



