Anthropic PBCのClaude Codeにおける複数の脆弱性
タイトル Anthropic PBCのClaude Codeにおける複数の脆弱性
概要

Claude Codeはエージェンシー型のコーディングツールです。バージョン2.1.64以前のClaude Codeのサンドボックスは、サンドボックス内のプロセスがワークスペース外の場所を指すシンボリックリンクを作成することを防げませんでした。Claude Codeがそのようなシンボリックリンク内のパスに書き込みを行うと、サンドボックス外のプロセスはシンボリックリンクをたどってワークスペース外のターゲット場所にユーザーの確認なしに書き込みを行いました。これにより、サンドボックス内のコマンドもサンドボックス外のアプリも単独ではワークスペース外に書き込むことができませんが、それらの組み合わせによって任意の場所に書き込めるサンドボックス脱出が可能となり、結果としてサンドボックス外でのコード実行が可能になりました。この脆弱性を確実に悪用するには、信頼できない内容をClaude Codeのコンテキストウィンドウに追加し、プロンプトインジェクションを通じてサンドボックス内コードの実行を誘発する必要がありました。標準のClaude Code自動更新を利用しているユーザーはこの修正を自動的に受けており、手動更新を行うユーザーにはバージョン2.1.64以降への更新が推奨されています。

想定される影響 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃により、他のソフトウェアにも影響が及ぶ可能性があります。 
対策

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

公表日 2026年4月21日0:00
登録日 2026年4月27日11:21
最終更新日 2026年4月27日11:21
CVSS3.0 : 緊急
スコア 10
ベクター CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
影響を受けるシステム
Anthropic PBC
Claude Code 2.1.64 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
変更履歴
No 変更内容 変更日
1 [2026年04月27日]
  掲載
2026年4月27日11:21

NVD脆弱性情報
CVE-2026-39861
概要

Claude Code is an agentic coding tool. Prior to version 2.1.64, Claude Code's sandbox did not prevent sandboxed processes from creating symlinks pointing to locations outside the workspace. When Claude Code subsequently wrote to a path within such a symlink, its unsandboxed process followed the symlink and wrote to the target location outside the workspace without prompting the user for confirmation. This allowed a sandbox escape where neither the sandboxed command nor the unsandboxed app could independently write outside the workspace, but their combination could write to arbitrary locations, potentially leading to code execution outside the sandbox. Reliably exploiting this required the ability to add untrusted content into a Claude Code context window to trigger sandboxed code execution via prompt injection. Users on standard Claude Code auto-update have received this fix automatically. Users performing manual updates are advised to update to version 2.1.64 or later.

公表日 2026年4月21日10:16
登録日 2026年4月25日4:02
最終更新日 2026年4月24日3:36
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:a:anthropic:claude_code:*:*:*:*:*:node.js:*:* 2.1.64
関連情報、対策とツール
共通脆弱性一覧