← 脆弱性・アップデート

重要脆弱性アドバイザリJavaScript / Node.jsAnthropic (Claude)macOS

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

影響

パッケージ影響する版修正版
npm:@anthropic-ai/claude-code< 2.1.2512.1.251

Claude Code validated Edit tool targets using point-in-time pathname and symlink resolution that was not bound to the underlying directory inodes or file descriptors. On macOS, a process running inside Claude Code's Bash sandbox could exploit the resulting time-of-check to time-of-use window by atomically swapping an in-workspace parent directory with a symlink after validation completed, causing the unsandboxed Edit implementation to overwrite an attacker-selected user-writable file outside th…

GitHub Advisory Databaseで読む

2026/11/10 07:42、GitHub Advisory Databaseが「Claude Code: TOCTOU Race in Edit Tool Allows File Writes Outside the Workspace」を公開しました (種別: 脆弱性アドバイザリ)。重大度は「重要」(high) です。関連する技術: JavaScript / Node.js、Anthropic (Claude)、macOS。CVE: CVE-2026-88968。