Code Execution Vulnerability in Claude Code
CVE-2026-55607
Key Information:
- Vendor
Anthropics
- Status
- Vendor
- CVE Published:
- 29 June 2026
Badges
Key facts: CVE-2026-55607 is a high severity (CVSS 7.7) vulnerability in Anthropics claude-code. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 0.6%, the estimated probability of exploitation in the next 30 days.
What is CVE-2026-55607?
CVE-2026-55607 is a significant vulnerability affecting Claude Code, an agentic coding tool developed by Anthropics. This vulnerability primarily concerns the handling of worktrees from versions 2.1.38 through 2.1.163, which allows an attacker to exploit the software's functionalities. Specifically, the problem arises from the capability to create worktrees with names like ".git" and navigate outside the intended sandbox environment. By harnessing symlink manipulation and executing git fsmonitor commands, an attacker could potentially overwrite sensitive files located in the user's home directory. This could lead to code execution that escapes the restrictions imposed by the software's sandboxing mechanisms. For successful exploitation, the user must clone a malicious repository containing prompt injection content and initiate Claude Code with it. A patch addressing this vulnerability has been included in version 2.1.163.
Potential impact of CVE-2026-55607
-
Unauthorized Code Execution: The vulnerability allows attackers to execute arbitrary code within the user's environment, potentially compromising system integrity and confidentiality.
-
Data Compromise: Exploitation could result in overwriting crucial configuration files or other sensitive data, leading to unauthorized access to information and potential data loss.
-
Escalation of Privileges: Given that the exploit allows code execution outside of the sandbox context, it can enable attackers to escalate privileges within the system, facilitating further attacks or persistence within the network.
Affected Version(s)
claude-code >= 2.1.38, < 2.1.163
References
More Anthropics vulnerabilities
- CVE-2026-33068: Agentic Coding Tool Vulnerability in Claude Code by Anthropic(HIGH)
- CVE-2025-64755: File Write Vulnerability in Claude Code by Anthropic(HIGH)
- CVE-2025-59536: Code Injection Vulnerability in Claude Code by Anthropic(HIGH)
- CVE-2025-55284: File Reading Vulnerability in Claude Code by Anthropic(HIGH)
