
🚨HIGH - Claude Code TOCTOU Symlink Write-Outside-Sandbox (CVE-2026-103435) @anthropic-ai/claude-code checks a target path is inside the project dir during permission validation, but re-resolves it at write time without re-checking. A workspace attacker can swap a project file for a symlink between check/write to redirect output to arbitrary files outside the sandbox, enabling cross-privilege file overwrite. 👉Affected: Claude Code < 2.1.129
Post summary
The text discloses a TOCTOU symlink vulnerability in Claude Code that can enable arbitrary file overwrites outside the sandbox. It identifies affected versions but provides no remediation, PoC, or evidence of active exploitation.


