Back to CVE records
High 7.7Published Oct 7, 2026

CVE-2026-103435Arbitrary File Write via Write-Time Symlink Following (TOCTOU) in Claude Code

Updated under an hour ago ()

Does this affect you?

It affects Anthropic @anthropic-ai/claude-code. Add what you run to find out whether that includes you.

EPSS puts the chance of exploitation in the next 30 days at 0.25%, higher than 15% of scored CVEs.

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. Users on standard Claude Code auto-update have received this fix already. Users performing manual updates are advised to update to the latest version. Thank you to hackerone.com/c_h4ck_0 for reporting this issue.

CVSS
7.7 HIGH (v4.0, CNA)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
Weakness (CWE)
CWE-22, CWE-61, CWE-367
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
0.25% (percentile 15)
Assigned by
Anthropic
NVD analysis
Awaiting Analysis
Record last updated
Oct 7, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
Anthropic @anthropic-ai/claude-code
anthropic:ai_claude_code (from the name)
before 2.1.129
CNA record

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.