CVE-2026-103435CWE-22CWE-367CWE-61path-traversal

CVE-2026-103435

published October 7, 2026

CVSS
7.7
EPSS
0%
Percentile
15.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
7.7 · NONE
CVSS v4.0
7.7 · 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
EPSS
0.00251 · 15.6th percentile
Weaknesses
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'); CWE-367 · Time-of-check Time-of-use (TOCTOU) Race Condition; CWE-61 · UNIX Symbolic Link (Symlink) Following
Published
2026-10-07T17:17Z
References (1)
EPSS history
Timeline
  • 09 OCT 03:26Z
    EPSS moved — → 0%
    epss
  • 07 OCT 12:50Z
    Arbitrary File Write via Write-Time Symlink Following (TOCTOU) in Claude Code
    cvelistv5