Skip to content
HighVulnerabilityLLM-specific

CVE-2026-39861: Claude Code sandbox escape through symlinks outside the workspace

Identifier
CVE-2026-39861
Published
Record updated
View JSON
Affected
  • @anthropic-ai/claude-code < 2.1.64
Fixed in
2.1.64
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.8%

Summary

Claude Code versions before 2.1.64 let sandboxed processes create symlinks pointing outside the workspace. When Claude Code later wrote through such a symlink, its unsandboxed process followed it and wrote to the external target without asking the user for confirmation, enabling a sandbox escape that could potentially lead to code execution outside the sandbox. Exploitation required injecting untrusted content into the Claude Code context window to trigger sandboxed code execution.

Mitigation

Fixed in version 2.1.64. Users on standard auto-update received the fix automatically; users performing manual updates are advised to update to version 2.1.64 or later.