{
  "id": "CVE-2026-103435",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-103435",
  "published_at": "2026-10-07T12:50:02.572Z",
  "title": "Arbitrary File Write via Write-Time Symlink Following (TOCTOU) in Claude Code",
  "vendor": "Anthropic",
  "product": "@anthropic-ai/claude-code",
  "cvss": {
    "score": 7.7,
    "source": "cna",
    "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Claude Code validated that a target file path resided within the project working directory at permission-check time, but re-resolved the path at write time without repeating that validation. This time-of-check to time-of-use (TOCTOU) gap allowed an attacker who could write to the workspace to atomically replace a project file with a symlink, causing Claude Code to follow the symlink and write its output to an arbitrary file outside the project sandbox. Exploitation required the ability to win a race condition against the write operation and write access to the shared workspace, enabling a lower-privileged attacker to redirect benign edits to sensitive files (e.g., shell configuration) in a higher-privileged session.\n\nUsers on standard Claude Code auto-update have received this fix already. Users performing manual updates are advised to update to the latest version.\n\nThank you to hackerone.com/c_h4ck_0 for reporting this issue.",
  "cwe": "CWE-22",
  "cvss_by_source": {
    "cna": 7.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Anthropic",
        "product": "@anthropic-ai/claude-code",
        "ranges": [
          "\u003c 2.1.129"
        ],
        "fixed_in": [
          "2.1.129"
        ]
      }
    ],
    "upgrade": [
      "Upgrade @anthropic-ai/claude-code to 2.1.129 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/anthropics/claude-code/security/advisories/GHSA-5j29-h97v-84ch"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
