How SCTPhantom escaped the Claude Cowork sandbox Researchers found a use-after-free kernel bug, tracked as CVE-2026-64564 and named SCTPhantom, in the Linux SCTP networking code that let a sandboxed command escalate to root inside Claude Cowork's Hyper-V Ubuntu VM, which ran kernel 6.8.0-138-generic. Because Cowork mounts the host's entire C:\ drive into the VM with write access for anything the Windows user can reach, root in the VM exposes SSH keys, tokens and browser data on the user's disk. The bug has been patched since the article's publication. Back to blog https://bluebear.io/blog/ How SCTPhantom escaped the Claude Cowork sandbox Claude Cowork runs your commands in a sandbox inside a VM. We found a kernel bug that takes a sandboxed command to root, and root can reach your whole disk. Since the publication of this article, the bug has been patched. “Just run it in the sandbox.” This has become a default approach for every risky command. Unknown script from a repo? Sandbox. Setup step you don’t fully understand? Sandbox. For some teams, the sandbox feels like a safety net. So after you’ve run a command there, you stop asking what it actually does. We use Claude Cowork every day, and we lean on the sandbox too. So one afternoon we asked the question that habit allows us to skip: if a command ever escaped the sandbox, what could it reach? The answer is a lot more than one project folder. If you let a coding agent run commands on your own machine, this blog is for you. We’ll take a look at how Cowork’s sandbox is built, inspect the kernel bug that let us escape it, and present three habits that limit what the next escaped command can reach on your machine. How the Claude Cowork sandbox works Cowork runs a computer inside your computer. It’s a desktop app that can manage your local files and execute commands. We’ll walk through the Windows version, but the same design applies on macOS and Linux, just with a different implementation. Cowork runs as claude.exe on your own PC. Anthropic built Cowork so the commands Claude runs stay isolated from the rest of your machine. That’s the job of a system service called cowork-svc.exe . It uses Hyper-V to boot a virtual machine VM , running Ubuntu. That VM is the computer inside your computer. When we found the bug, it ran Linux kernel 6.8.0-138-generic . However, your commands don’t run directly in the VM. Inside it, a background service called coworkd builds a sandbox for each session, each containing four parts: - a new low-privilege Linux user - your project folder, mounted under /sessions/