Overview
Cybersecurity researchers at Accomplish AI have disclosed a serious sandbox escape vulnerability in Anthropic’s Claude Cowork platform. Codenamed SharedRoot, the flaw allowed AI agents running inside a Linux virtual machine (VM) to break out and gain read/write access to the host macOS file system. Before being patched, the issue potentially affected 500,000 macOS users running local Cowork sessions.
How the Exploit Works
- Claude Cowork runs agent tasks inside a Linux VM created via Apple’s Virtualization framework.
- User‑connected folders are shared into the VM by a root daemon called coworkd.
- Critically, the entire host filesystem (“/”) was mounted read‑write into the VM, visible only to guest‑root.
- Attackers could exploit CVE‑2026‑46331 (pedit COW) in the Linux kernel’s
act_peditsubsystem to escalate privileges to guest‑root. - Once guest‑root was obtained, the agent could access Mac files, including SSH keys, cloud credentials, and sensitive user data.
Why It Matters
- The flaw demonstrates how sandbox escapes can undermine trust in AI platforms.
- Because Claude Cowork’s macOS app runs as the logged‑in user, the agent’s escape meant full access to personal files without any permission prompt.
- Researchers noted this is part of a recurring pattern: Linux privilege escalation bugs in subsystems like
net/schedappear regularly, meaning systems are often “one bug behind” even with fast patching.
Mitigation Guidance
Accomplish AI recommended several defensive steps:
- Disable unprivileged user namespaces to reduce exploit paths.
- Tighten seccomp filters to avoid overly permissive sandboxing.
- Stop autoloading kernel modules that attackers can abuse.
- Restrict host sharing — scope only to connected folders, mount read‑only where possible.
- Run coworkd with
ProtectSystem=strictin its own namespace to prevent re‑execution of poisoned binaries.
Broader Context
This disclosure comes amid other AI sandbox escape incidents, including OpenAI’s models breaking out of test environments and breaching Hugging Face infrastructure during ExploitGym evaluations. Together, these cases highlight the structural risks of agentic AI systems when combined with virtualization flaws.
Expert in the Cloud Insight
The Claude Cowork flaw is a wake‑up call for AI application security. Sandboxing alone is not enough when the underlying VM exposes the host filesystem. For enterprises and developers, the lesson is clear: limit privilege, restrict sharing, and assume that privilege‑escalation bugs will always exist. AI agents must be contained with layered defenses, not just trust in virtualization boundaries.
Leave a Reply