Two Claude Code vulnerabilities: world-readable /copy output and worktree sandbox escape
Anthropic's Claude Code agentic coding tool had two disclosed flaws: CVE-2026-46406, where the /copy command wrote responses to a predictable world-readable path (/tmp/claude/response.md) allowing local users to read secrets or plant symlinks to overwrite files, and CVE-2026-55607, where worktree handling allowed git directory confusion and symlink abuse to overwrite home-directory files and execute code outside the seatbelt sandbox. Both were fixed in later releases (2.1.128 and 2.1.163 respectively).
Disclosed 29 June 2026 · Record updated 13 September 2026
Impact
Local unprivileged users could read privileged users' Claude responses containing secrets or credentials and overwrite attacker-chosen files; a malicious repository with prompt injection content could overwrite home-directory files such as .zshenv and achieve code execution outside sandbox restrictions.
Our coverage
No articles linked to this incident yet.
Sources
- nvd.nist.govhttps://nvd.nist.gov/vuln/detail/CVE-2026-46406
- nvd.nist.govhttps://nvd.nist.gov/vuln/detail/CVE-2026-55607
