Vulnerability GHSA-vp62-r36r-9xqp

Critical
CRITICAL RISK
CVSS Score: 10.0
Score Range: 9.0–10.0
Critical severity vulnerabilities (CVSS 9.0–10.0). These represent the highest impact issues.
5 months ago
April 21, 2026 at 06:51 PM UTC
Claude Code: Sandbox Escape via Symlink Following Allows Arbitrary File Write Outside Workspace
0.2.9 - 2.1.63
0.2.9 - 2.1.63

Summary

Claude Code: Sandbox Escape via Symlink Following Allows Arbitrary File Write Outside Workspace

Details

Claude Code's sandbox did not prevent sandboxed processes from creating symlinks pointing to locations outside the workspace. When Claude Code subsequently wrote to a path within such a symlink, its unsandboxed process followed the symlink and wrote to the target location outside the workspace without prompting the user for confirmation. This allowed a sandbox escape where neither the sandboxed command nor the unsandboxed app could independently write outside the workspace, but their combination could write to arbitrary locations, potentially leading to code execution outside the sandbox. Reliably exploiting this required the ability to add untrusted content into a Claude Code context window to trigger sandboxed code execution via prompt injection.

Users on standard Claude Code auto-update have received this fix automatically. Users performing manual updates are advised to update to the latest version.

Claude Code thanks hackerone.com/philts for reporting this issue.

Impacted packages

Timeline

Published
5 months ago
April 21, 2026 at 06:51 PM UTC
Fixed (2.1.64)
7 months ago
March 03, 2026 at 03:19 AM UTC
Last Modified
5 months ago
May 05, 2026 at 04:11 PM UTC