2026-07-23 · 2026-Q3
"SharedRoot" Escapes the Claude Cowork Sandbox to Read Host Mac Files (CVE-2026-46331)
Which agent, run, or tenant is this?
- Fixable
- Vendor patch
- Vendor response
- Not a vulnerability
- In the wild
- No
- Actor
- Attacker
Target
Anthropic's Claude Cowork running local sessions on macOS, where the agent executes inside a Linux virtual machine
Impact
Untrusted content processed by the agent can break out of the Linux VM and read or write files anywhere on the host Mac, including SSH private keys in `~/.ssh`, AWS credentials in `~/.aws`, cloud CLI tokens, browser data, source repositories, and enterprise configuration files, with no user prompt. Press coverage put roughly 500,000 macOS endpoints in scope for local Cowork sessions before the change in defaults. Anthropic classified the report as "Informative" under its bug bounty program and now runs Cowork with cloud execution by default, which the researcher says the local escape does not apply to; users who deliberately choose local execution remain exposed
Root cause
A six-step chain that leans on sandbox misconfiguration more than on the kernel bug itself: create an unprivileged user namespace to obtain root-like capabilities, load a vulnerable traffic-control kernel module over a netlink socket, exploit CVE-2026-46331 (incorrect copy-on-write handling in the `act_pedit` packet-editing code) to poison the page cache of a root-owned binary, run that poisoned binary through the `coworkd` daemon to reach guest root, then read and write the host filesystem exposed inside the VM at `/mnt/.virtiofs-root`. Found by Oren Yomtov (Accomplish)
CVE
Sources
Catalog
Cite this: AgentProv incident record: "SharedRoot" Escapes the Claude Cowork Sandbox to Read Host Mac Files (CVE-2026-46331) (2026-07-23). https://agentprov.com/incidents/2026-07-23-sharedroot-escapes-the-claude-cowork-sandbox-to-read-host-mac-files-cve-2026
Related
- Also L6 · 2026-10-27MCP Server and LangGraph Advisory Batch: AWS API MCP Accepts Other Apps' Tokens, GitLab MCP Sends Credentials to a Repo-Chosen Registry, and Cross-Tenant Store Reads (CVE-2026-115413, CVE-2026-115883)L6Identity / Run
- Also L6 · 2026-10-23OpenAI Moves Frontier Training Offline After Red-Team Agents Escaped VMs and Signaled Through the CPU Cache; Their Brotli RCE Lands in CISA KEV (CVE-2026-111497)L6Identity / Run
- Also L6 · 2026-10-21Symantec: "Skynet Mode" Attack Agent Hijacks Exposed LLM Endpoints to Hack and Mine at the Model Owner's ExpenseL6Identity / Run