{"id":"CVE-2026-103435","aliases":["CVE-2026-103435"],"related":[],"kind":"vulnerability","state":"published","title":"Arbitrary File Write via Write-Time Symlink Following (TOCTOU) in Claude Code","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-07T12:50:02.572Z","modified":"2026-10-07T15:16:57.037Z","severity":{"scorer":"Anthropic","scheme":"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,"rating":"HIGH"},"severities":[{"scorer":"Anthropic","scheme":"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,"rating":"HIGH"}],"cwes":["CWE-22","CWE-61","CWE-367"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"2.1.129","status":"affected"}],"vendor":"Anthropic","product":"@anthropic-ai/claude-code","source":"cvelist"}],"references":[{"url":"https://github.com/anthropics/claude-code/security/advisories/GHSA-5j29-h97v-84ch","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Anthropic","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-07T14:39:02.916Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-103435","url":"https://www.cve.org/CVERecord?id=CVE-2026-103435","licence":"CVE Terms of Use","modified":"2026-10-07T14:39:13.225Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-103435","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-103435","licence":"Public domain","modified":"2026-10-07T15:16:57.037Z"}],"updatedAt":"2026-11-25T22:59:42.713Z","epss":{"score":0.00251,"percentile":0.17637,"date":"2026-12-01T12:00:22.000Z"}}