CVE-2026-103435 Arbitrary File Write via Write-Time Symlink Following (TOCTOU) in Claude Code
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- Red Hat
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.
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.
Upgrade path
2 packages: 1 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/devspaces/pluginregistry-rhel9:1792495212(Red Hat openshift_devspaces 3.31 el9) | All versions | No fix listed | No fix yet |
| Anthropic @anthropic-ai/claude-code | < 2.1.129 | 2.1.129 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/devspaces/pluginregistry-rhel9:1792495212(Red Hat:openshift_devspaces:3.31::el9) | All versions | No fix listed |
| Anthropic @anthropic-ai/claude-code | < 2.1.129 | 2.1.129 |
References
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:90321 patch vendor-advisory
- Red Hat Bugzilla 2547427 issue-tracking
- www.cve.org
- nvd.nist.gov
- github.com
- ENISA EUVD EUVD-2026-94319 third-party-advisory