
CVE catalog
CVE-2026-55607
Claude Code is an agentic coding tool. From 2.1.38 until 2.1.163, Claude Code's worktree handling allowed creation of worktrees named ".git" and navigation to worktrees outside the sandbox context, e
- Severity
- High · CVSS 7.7
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.69% · Oct 25, 2026
A flaw was found in Claude Code, an agentic coding tool, in its handling of worktrees. This vulnerability allowed the creation of specially named worktrees and navigation outside of the intended secure environment, leading to what is known as a 'git directory confusion attack'. By manipulating symbolic links and how git monitors file system changes, an attacker could overwrite important user files, potentially leading to unauthorized code execution on the user's system. This attack requires a user to interact with a malicious code repository. Claude Code: @anthropic-ai/claude-code: Claude Code: Arbitrary code execution through git directory confusion This is an Important vulnerability in Claude Code, an agentic coding tool within OpenShift Lightspeed, stemming from a git directory confusion flaw. The vulnerability allows an attacker to overwrite user configuration files, leading to arbitrary code execution outside of sandbox restrictions. Exploitation requires a user to clone a malicious repository and then execute Claude Code against its contents. The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Cpe | claude_code | Not reported | 2.1.163 | fixed |
| Npm | @anthropic-ai/claude-code | Not reported | 2.1.163 | fixed |
| Cpe | claude_code | Not reported | 2.1.163 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Cpe | claude_code | cpe | Not reported | 2.1.163 | Not reported | Not reported | Not reported |
| Npm | @anthropic-ai/claude-code | npm | Not reported | 2.1.163 | Not reported | Not reported | Not reported |
| Cpe | claude_code | cpe | Not reported | 2.1.163 | Not reported | NVD-CVE-2026-55607 | Not reported |
OpenFactory catalog packages
No matching packages in this catalog.
Observed:
References
- [https://github.com/advisories/GHSA-7835-87q9-rgvv]
- [https://github.com/anthropics/claude-code/security/advisories/GHSA-7835-87q9-rgvv]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-55607]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-55607.json]
[FIRST EPSS] · [GitHub Advisory Database] · [National Vulnerability Database (NVD)] · [Red Hat security advisories and VEX]