製品・ソフトウェアに関する情報
Anthropic PBCのClaude Agent SDK等の複数製品におけるOS コマンドインジェクションの脆弱性
Title Anthropic PBCのClaude Agent SDK等の複数製品におけるOS コマンドインジェクションの脆弱性
Summary

Anthropic Claude Code CLIおよびClaude Agent SDKには、コマンドルックアップヘルパーとディープリンク端末ランチャーにOSコマンドインジェクションの脆弱性が存在し、ローカルの攻撃者がTERMINAL環境変数を操作することで任意のコマンドを実行できます。攻撃者はTERMINAL変数にシェルのメタキャラクターを注入可能であり、コマンドルックアップヘルパーがshell=trueでシェルコマンドを構築および実行する際に、その内容が/bin/shによって解釈されます。この脆弱性は通常のCLI実行中およびディープリンクハンドラ経路を通じてトリガーされる可能性があり、CLIを実行するユーザーの権限で任意のコマンドを実行させる結果を招きます。

Possible impacts 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
Solution

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

Publication Date April 6, 2026, midnight
Registration Date May 1, 2026, 10:39 a.m.
Last Update May 1, 2026, 10:39 a.m.
CVSS3.0 : 重要
Score 8.4
Vector CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected System
Anthropic PBC
Claude Agent SDK 0.1.55 およびそれ以前
Claude Code 2.1.91 およびそれ以前
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2026年05月01日]
  掲載
May 1, 2026, 10:39 a.m.

NVD Vulnerability Information
CVE-2026-35020
Summary

Anthropic Claude Code CLI and Claude Agent SDK contain an OS command injection vulnerability in the command lookup helper and deep-link terminal launcher that allows local attackers to execute arbitrary commands by manipulating the TERMINAL environment variable. Attackers can inject shell metacharacters into the TERMINAL variable which are interpreted by /bin/sh when the command lookup helper constructs and executes shell commands with shell=true. The vulnerability can be triggered during normal CLI execution as well as via the deep-link handler path, resulting in arbitrary command execution with the privileges of the user running the CLI.

Publication Date April 7, 2026, 5:16 a.m.
Registration Date April 15, 2026, 11:27 a.m.
Last Update April 14, 2026, 5:16 a.m.
Related information, measures and tools
Common Vulnerabilities List