Anthropic PBCのClaude Codeにおける複数の脆弱性
| Title |
Anthropic PBCのClaude Codeにおける複数の脆弱性
|
| Summary |
Claude Codeはエージェンシー型のコーディングツールです。バージョン2.1.64以前のClaude Codeのサンドボックスは、サンドボックス内のプロセスがワークスペース外の場所を指すシンボリックリンクを作成することを防げませんでした。Claude Codeがそのようなシンボリックリンク内のパスに書き込みを行うと、サンドボックス外のプロセスはシンボリックリンクをたどってワークスペース外のターゲット場所にユーザーの確認なしに書き込みを行いました。これにより、サンドボックス内のコマンドもサンドボックス外のアプリも単独ではワークスペース外に書き込むことができませんが、それらの組み合わせによって任意の場所に書き込めるサンドボックス脱出が可能となり、結果としてサンドボックス外でのコード実行が可能になりました。この脆弱性を確実に悪用するには、信頼できない内容をClaude Codeのコンテキストウィンドウに追加し、プロンプトインジェクションを通じてサンドボックス内コードの実行を誘発する必要がありました。標準のClaude Code自動更新を利用しているユーザーはこの修正を自動的に受けており、手動更新を行うユーザーにはバージョン2.1.64以降への更新が推奨されています。
|
| Possible impacts |
当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃により、他のソフトウェアにも影響が及ぶ可能性があります。 |
| Solution |
正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
April 21, 2026, midnight |
| Registration Date |
April 27, 2026, 11:21 a.m. |
| Last Update |
April 27, 2026, 11:21 a.m. |
|
CVSS3.0 : 緊急
|
| Score |
10
|
| Vector |
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
Affected System
| Anthropic PBC |
|
Claude Code 2.1.64 未満
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年04月27日] 掲載 |
April 27, 2026, 11:21 a.m. |
NVD Vulnerability Information
CVE-2026-39861
| Summary |
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.
|
| Publication Date |
April 21, 2026, 10:16 a.m. |
| Registration Date |
April 25, 2026, 4:02 a.m. |
| Last Update |
April 24, 2026, 3:36 a.m. |
Affected software configurations
| Configuration1 |
or higher |
or less |
more than |
less than |
| cpe:2.3:a:anthropic:claude_code:*:*:*:*:*:node.js:*:* |
|
|
|
2.1.64 |
Related information, measures and tools
Common Vulnerabilities List