{
 "public_id": "AIR-2026-0140",
 "incident_id": "2026-06-anthropic-claude-code-worktree-sandbox-escape",
 "date_disclosed": "2026-06-25",
 "date_occurred": null,
 "title": "CVE-2026-55607: Claude Code sandbox escape via git worktree path confusion",
 "class": "responsible_disclosure",
 "attack_surface": "coding_agent",
 "initial_vector": "prompt_injection_in_cloned_repository",
 "agent_capability_abused": [
  "git_operations",
  "file_write",
  "symlink_creation",
  "shell_execution"
 ],
 "target_product": "Claude Code (@anthropic-ai/claude-code)",
 "target_vendor": "Anthropic",
 "autonomy_level": "semi_autonomous",
 "impact_realized": false,
 "impact_type": [
  "sandbox_escape",
  "remote_code_execution"
 ],
 "blast_radius": "Claude Code npm >= 2.1.38 < 2.1.163 running the seatbelt sandbox against an untrusted repository",
 "cve": [
  "CVE-2026-55607"
 ],
 "taxonomy": {
  "owasp_asi": [
   "ASI01",
   "ASI05"
  ],
  "mitre_atlas": [],
  "labels": [
   "sandbox_escape",
   "symlink_attack",
   "path_confusion",
   "indirect_prompt_injection",
   "coding_agent"
  ]
 },
 "defense_present": "macOS seatbelt sandbox restricting writes to the workspace",
 "defense_bypassed": true,
 "fix_shipped": "@anthropic-ai/claude-code 2.1.163",
 "primary_sources": [
  "https://github.com/advisories/GHSA-7835-87q9-rgvv"
 ],
 "verified_quote": "Claude Code: Sandbox Escape via Git Worktree Path Confusion Allows Unsandboxed Code Execution",
 "confidence": "high",
 "notes": "GHSA-7835-87q9-rgvv, CVSS 7.7 High, published 2026-06-25. Worktrees could be created with names like '.git' and navigated outside the sandbox; combined with symlinks and git fsmonitor execution this let the agent write ~/.zshenv and get unsandboxed execution. Exploitation required the user to clone a repo carrying prompt-injection material and run Claude Code on it. Related but distinct: CVE-2026-39861 (symlink sandbox escape, fixed in 2.1.64) and CVE-2025-66479 (sandbox-runtime network isolation).",
 "risk_category": "security_fraud",
 "risk_secondary": [],
 "risk_subcategory": "Prompt Injection",
 "risk_sub_secondary": [
  "Remote Code Execution & Sandbox Escape"
 ],
 "ai_entity": "generative",
 "agency": "agent_acted",
 "agency_debatable": true,
 "agency_reason": "the agent created worktrees that escaped the sandbox",
 "vector_family": "indirect_prompt_injection",
 "vector_detail": "prompt_injection_in_cloned_repository",
 "guardrail_kind": [
  "sandbox_isolation"
 ],
 "guardrail_outcome": "silent",
 "xrefs": {
  "aiid": [],
  "atlas": [],
  "cve": [
   "CVE-2026-55607"
  ],
  "ghsa": []
 },
 "primary_asi": "ASI01",
 "agent_framework": "claude_code",
 "model_provider": "anthropic",
 "model_name": "",
 "detection_mechanism": "unknown",
 "tool_access": "unknown",
 "financial_loss_band": "unknown",
 "eai_category": "privilege_escalation",
 "eai_domain": "access_control_and_permissions",
 "eai_secondary": [
  "confused_deputy"
 ],
 "eai_reason": "impact rule: privilege_escalation",
 "asi_curated": [],
 "asi_scope": "in_scope",
 "asi_provenance": "rule",
 "asi_reason": "ASI01 (vector_family=indirect_prompt_injection); ASI05 (impact=code_exec)",
 "submitted_by": "EAI Internal"
}