CVE-2026-103435Anthropic @anthropic-ai/claude-code path traversal
CVSS score
7.7
High
CVSS 4.0 from 98a01053-8a31-4f6d-9aa9-252be161adc6
Exploit probability (EPSS)
0.25%
0.25% chance of exploitation in the next 30 days, higher than 16.6% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: 98a01053-8a31-4f6d-9aa9-252be161adc6
How to fix it, step by step
Check whether you're affected
Find every system running Anthropic @anthropic-ai/claude-code and compare its version with the affected versions.
Update to a fixed version
- Update @anthropic-ai/claude-code to 2.1.129 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- Present
- Privileges required
- None
- User interaction
- Passive
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Affected products
| Affected products | Versions |
|---|---|
| Anthropic @anthropic-ai/claude-code | < 2.1.129 |
Weakness
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-103435 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.3% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-103435?
CVE-2026-103435 has a CVSS 4.0 base score of 7.7 (high).
Which versions are affected?
Anthropic @anthropic-ai/claude-code (< 2.1.129)
Is there a patch for CVE-2026-103435?
The official record links to vendor advisories or patches; see “What to do” above.
References
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.