| タイトル | Jeremiah LowinのFastMCPにおけるOS コマンドインジェクションの脆弱性 |
|---|---|
| 概要 | FastMCPはMCPアプリケーションを構築するための標準フレームワークです。バージョン3.2.0以前では、シェルのメタ文字(例:&)を含むサーバー名が、fastmcp install claude-codeまたはfastmcp install gemini-cliに渡された際にWindows上でコマンドインジェクションを引き起こす可能性がありました。これらのインストールパスはsubprocess.run()をリスト引数で使用していますが、Windowsでは対象のCLIがしばしば.cmdラッパーに解決され、cmd.exeを介して実行されるため、フラット化されたコマンド文字列内のメタ文字をcmd.exeが解釈してしまいます。この問題はバージョン3.2.0で修正されました。 |
| 想定される影響 | 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| 対策 | 正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年4月3日0:00 |
| 登録日 | 2026年4月22日10:10 |
| 最終更新日 | 2026年4月22日10:10 |
| CVSS3.0 : 重要 | |
| スコア | 7.8 |
|---|---|
| ベクター | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Jeremiah Lowin |
| FastMCP 3.2.0 未満 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年04月22日] 掲載 |
2026年4月22日10:10 |
| 概要 | FastMCP is the standard framework for building MCP applications. Prior to version 3.2.0, server names containing shell metacharacters (e.g., &) can cause command injection on Windows when passed to fastmcp install claude-code or fastmcp install gemini-cli. These install paths use subprocess.run() with a list argument, but on Windows the target CLIs often resolve to .cmd wrappers that are executed through cmd.exe, which interprets metacharacters in the flattened command string. This issue has been patched in version 3.2.0. |
|---|---|
| 公表日 | 2026年4月4日1:16 |
| 登録日 | 2026年4月15日11:24 |
| 最終更新日 | 2026年4月21日10:09 |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:a:jlowin:fastmcp:*:*:*:*:*:*:*:* | 3.2.0 | ||||