Jeremiah LowinのFastMCPにおけるOS コマンドインジェクションの脆弱性
| Title |
Jeremiah LowinのFastMCPにおけるOS コマンドインジェクションの脆弱性
|
| Summary |
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で修正されました。
|
| Possible impacts |
当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| Solution |
正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
April 3, 2026, midnight |
| Registration Date |
April 22, 2026, 10:10 a.m. |
| Last Update |
April 22, 2026, 10:10 a.m. |
|
CVSS3.0 : 重要
|
| Score |
7.8
|
| Vector |
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected System
| Jeremiah Lowin |
|
FastMCP 3.2.0 未満
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年04月22日] 掲載 |
April 22, 2026, 10:10 a.m. |
NVD Vulnerability Information
CVE-2025-64340
| Summary |
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.
|
| Publication Date |
April 4, 2026, 1:16 a.m. |
| Registration Date |
April 15, 2026, 11:24 a.m. |
| Last Update |
April 21, 2026, 10:09 a.m. |
Affected software configurations
| Configuration1 |
or higher |
or less |
more than |
less than |
| cpe:2.3:a:jlowin:fastmcp:*:*:*:*:*:*:*:* |
|
|
|
3.2.0 |
Related information, measures and tools
Common Vulnerabilities List