{"id":"EUVD-2026-40117","revision":"b180f13bfbf74ad8a9c3ebc6bff2f7fa","records":[{"revision":"b180f13bfbf74ad8a9c3ebc6bff2f7fa","observedAt":"2026-10-30T09:56:22.928+00:00","statement":{"source":"euvd","id":"EUVD-2026-40117","aliases":["CVE-2026-55607","GHSA-7835-87q9-rgvv"],"title":"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, enabling git directory confusion attacks.…","description":"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, enabling git directory confusion attacks. By exploiting symlink manipulation and git fsmonitor execution during worktree operations, an attacker could overwrite files in the user's home directory (such as .zshenv), leading to code execution outside of seatbelt sandbox restrictions. Reliably exploiting this required the user to clone a malicious repository containing prompt injection content and run Claude Code against it. This vulnerability is fixed in 2.1.163.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 4.0","vector":"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","score":7.7,"severity":null}],"references":["https://github.com/anthropics/claude-code/security/advisories/GHSA-7835-87q9-rgvv"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-40117","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jun 29, 2026, 2:04:00 PM","dateUpdated":"Jun 29, 2026, 3:51:30 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-40117","identifiers":["EUVD-2026-40117","CVE-2026-55607","GHSA-7835-87q9-rgvv"]},"retained":false,"historicalAffected":[]}],"coverage":[]}