CVE-2026-88968

    Dashboard / Vulnerabilities / CVE-2026-88968

    CVE-2026-88968

    Published: 3 Nov 2026Last Modified: 5 Nov 2026

    Summary: Claude Code: TOCTOU Race in Edit Tool Allows File Writes Outside the Workspace

    Details: Claude Code is an agentic coding tool. Prior to 2.1.251, the Edit tool validates a target using pathname and symlink resolution that is not bound to the underlying directory inode or file descriptor. On macOS, attacker-controlled code running in the Bash sandbox can atomically replace an in-workspace parent directory with a symlink after validation, causing the unsandboxed Edit implementation to overwrite a user-writable file outside the workspace. Exploitation requires attacker-controlled code to run inside the sandbox, such as from a malicious repository or dependency script. This issue is fixed in version 2.1.251.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Affected versions

    v2.1.250
    v2.1.248
    v2.1.247
    v2.1.246
    v2.1.245
    v2.1.243
    v2.1.241
    v2.1.240
    v2.1.239
    v2.1.238
    v2.1.237
    v2.1.236
    v2.1.235
    v2.1.234
    v2.1.233
    v2.1.232
    v2.1.231
    v2.1.229
    v2.1.228
    v2.1.227
    v2.1.226
    v2.1.225
    v2.1.224
    v2.1.223
    v2.1.222
    v2.1.221
    v2.1.220
    v2.1.219
    v2.1.218
    v2.1.217
    v2.1.216
    v2.1.215
    v2.1.214
    v2.1.212
    v2.1.211
    v2.1.210
    v2.1.209
    v2.1.208
    v2.1.207
    v2.1.206
    v2.1.205
    v2.1.204
    v2.1.203
    v2.1.202
    v2.1.201
    v2.1.200
    v2.1.199
    v2.1.198
    v2.1.197
    v2.1.196
    v2.1.195
    v2.1.193
    v2.1.191
    v2.1.190
    v2.1.187
    v2.1.186
    v2.1.185
    v2.1.183
    v2.1.181
    v2.1.179
    v2.1.178
    v2.1.177
    v2.1.176
    v2.1.175
    v2.1.174
    v2.1.173
    v2.1.172
    v2.1.170
    v2.1.169
    v2.1.168
    v2.1.167
    v2.1.166
    v2.1.165
    v2.1.163
    v2.1.162
    v2.1.161
    v2.1.160
    v2.1.159
    v2.1.158
    v2.1.157
    v2.1.156
    v2.1.154
    v2.1.153
    v2.1.152
    v2.1.150
    v2.1.149
    v2.1.148
    v2.1.147
    v2.1.146
    v2.1.145
    v2.1.144
    v2.1.143
    v2.1.142
    v2.1.141
    v2.1.140
    v2.1.139
    v2.1.138
    v2.1.137
    v2.1.136
    v2.1.133
    v2.1.132
    v2.1.131
    v2.1.129
    v2.1.128
    v2.1.126
    v2.1.123
    v2.1.122
    v2.1.121
    v2.1.120
    v2.1.119
    v2.1.118
    v2.1.117
    v2.1.116
    v2.1.114
    v2.1.113
    v2.1.112
    v2.1.111
    v2.1.110
    v2.1.109
    v2.1.108
    v2.1.107
    v2.1.105
    v2.1.104
    v2.1.101
    v2.1.98
    v2.1.100
    v2.1.97
    v2.1.96
    v2.1.94
    v2.1.92
    v2.1.91
    v2.1.90
    v2.1.89
    v2.1.88
    v2.1.87
    v2.1.86
    v2.1.85
    v2.1.84
    v2.1.83
    v2.1.81
    v2.1.80
    v2.1.79
    v2.1.78
    v2.1.77
    v2.1.76
    v2.1.75
    v2.1.74
    v2.1.73
    v2.1.72
    v2.1.71
    v2.1.70
    v2.1.69
    v2.1.68
    v2.1.66
    v2.1.63
    v2.1.62
    v2.1.61
    v2.1.59
    v2.1.58
    v2.1.56
    v2.1.55
    v2.1.53
    v2.1.52
    v2.1.51
    v2.1.50
    v2.1.49
    v2.1.47
    v2.1.45
    v2.1.44
    v2.1.42
    v2.1.41
    v2.1.39
    v2.1.38
    v2.1.37
    v2.1.36
    v2.1.34
    v2.1.33
    v2.1.32
    v2.1.31
    v2.1.30
    v2.1.29
    v2.1.12
    v2.1.27
    v2.1.25
    v2.1.23
    v2.1.22
    v2.1.21
    v2.1.20
    v2.1.19
    v2.1.17
    v2.1.16
    v2.1.15
    v2.1.14
    v2.1.11
    v2.1.9
    v2.1.7
    v2.1.6
    v2.1.5
    v2.1.4
    v2.1.3
    v2.1.2
    v2.1.1
    v2.1.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2026-88968 | CVE-DB