@anthropic-ai/sandbox-runtime is vulnerable to Sandbox Escape
78
High Risk
On Linux the secure Bubblewrap branch isolates the PID namespace and mounts a fresh /proc but relies on bubblewrap auto-creating a user namespace, which only happens when the parent process runs with a non-zero effective UID. When the sandbox is launched from a root parent (effective UID 0, such as a container running as the default root user), the sandboxed command keeps CAP_SYS_ADMIN in the initial user namespace and can remount the read-only root bind read-write, escaping the filesystem restrictions the sandbox is meant to enforce. The fix forces --unshare-user and --cap-drop ALL in the secure branch so all capabilities are dropped regardless of the parent's effective UID. This closes the sandbox escape path for root-parent deployments.
You are affected if you are using a version that falls within the vulnerable range and run the Linux sandbox from a process with an effective UID of 0, for example the default root user inside a container.
@anthropic-ai/sandbox-runtime is vulnerable to Sandbox Escape in versions 0.0.1 - 0.0.65.
Upgrade the @anthropic-ai/sandbox-runtime library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant