CVE-2026-103435
Last modified
CVE-2026-103435 is a high-severity vulnerability rated 7.7/10 on the CVSS scale. 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.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Anthropic | @anthropic-ai/claude-code | < 2.1.129 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-103435?
How severe is CVE-2026-103435?
How do I fix CVE-2026-103435?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-103425The Booking Package plugin for WordPress is vulnerable to St…6.4
- CVE-2026-103426The Relevanssi Premium plugin for WordPress is vulnerable to…7.2
- CVE-2026-103427The Simple Membership plugin for WordPress is vulnerable to …6.4
- CVE-2026-103431colmux in collectl before 4.3.20.2 does not sanitize ANSI/VT…7.7
- CVE-2026-103432apcupsd through 3.14.14 has an sscanf stack-based buffer ove…8.1
- CVE-2026-103433Docker Buildx Bake does not request the expected fs.read app…6.9
- CVE-2026-103436apcupsd through 3.14.14 discloses uninitialized stack memory…3.7
- CVE-2026-103437Improper neutralization of Script-Related HTML tags in a web…1.1
- CVE-2026-103438Improper neutralization of Script-Related HTML tags in a web…0.3
- CVE-2026-103439Improper neutralization of Script-Related HTML tags in a web…0.3
- CVE-2026-103440Exposure of sensitive information through data queries vulne…1.2
- CVE-2026-103441Deserialization of untrusted data vulnerability in The Wikim…7.2
Are you affected by CVE-2026-103435?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
