high7.7
CVE-2026-88968
Claude Code: TOCTOU Race in Edit Tool Allows File Writes Outside the Workspace
Impact
Claude Code: TOCTOU Race in Edit Tool Allows File Writes Outside the Workspace
An attacker can exploit this over the network, without logging in, but a user has to be involved, for example by viewing content. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @anthropic-ai/claude-code | < 2.1.251 | 2.1.251 |
Affected products · Anthropics
| Product | Affected versions |
|---|---|
| Claude-code | before 2.1.251 Version < 2.1.251 |