脆弱性の一覧へ戻る
編集部の見出し:Claude Code(macOS):Edit ツールがシンボリックリンク差し替えで作業場所の外へ書き込む
NVD の情報
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.
- 公開日
- 2026-11-03
- 最終更新(NVD)
- 2026-11-03
- NVD の状態
- Awaiting Analysis
- 脆弱性の種類
- CWE-367、CWE-59
深刻度(CVSS)
- 7.7 HighCVSS 4.0/副/評価:security-advisories@github.com
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
悪用の状況
CISA KEV には掲載されていません(掲載されていないことは、悪用されていないことの証明ではありません)。
EPSS:今後30日に悪用される推定確率 0.32%(全体の上位 75.2%、評価日 2026-11-04)
解消方法
- 解消方法の情報なし
「NVD の条件から推定」は、NVD が影響ありとする版の上限から読み取ったもので、修正版とは限りません。「解消方法の情報なし」は、修正が無いという意味ではありません。必ずベンダーの公告で確認してください。
編集部の記載(レポート掲載時)
レポートの編集部がベンダー公告などから転記した内容です。検証済みの値ではないため、必ず出典で確認してください。
2026-11-04 のレポートClaude Code(macOS):Edit ツールがシンボリックリンク差し替えで作業場所の外へ書き込む
4.0 で 7.7。2.1.251 より前。2.1.251 で修正(NVD の記載)。
参照(NVD)
NVD から取得:2026-11-04T20:45:20.789Z/EPSS 評価日:2026-11-04
This product uses the NVD API but is not endorsed or certified by the NVD.
悪用の確認情報は CISA Known Exploited Vulnerabilities Catalog(NVD 経由で取得)によります。EPSS は FIRST(www.first.org/epss)によります。