esp-mcpにOSコマンドを実行される脆弱性、悪用は未確認
Summary
esp-mcpには、MCPツールのパラメーターにシェルの特殊文字を含めると任意のコマンドを実行される脆弱性があります。影響を受けるのはコミット28afddfまでの版で、MCPサーバーの実行ユーザーの権限でコマンドが動きます。プロンプトインジェクションでエージェントのツール呼び出しを操作されると悪用されるおそれがあり、CVSSv3は7.8、CVSSv4は8.5です。修正版は公表されていないため、最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
esp-mcpには、MCPツールのパラメーターにシェルの特殊文字を含めると任意のコマンドを実行される脆弱性があります。影響を受けるのはコミット28afddfまでの版で、MCPサーバーの実行ユーザーの権限でコマンドが動きます。プロンプトインジェクションでエージェントのツール呼び出しを操作されると悪用されるおそれがあり、CVSSv3は7.8、CVSSv4は8.5です。修正版は公表されていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| horwesp-mcp |
≤ 28afddf9ff41ada117bb45fd49b526d3bf89749e→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
esp-mcp through commit 28afddf contains an OS command injection vulnerability that allows attackers to run arbitrary commands by supplying shell metacharacters in MCP tool parameters. Attackers influencing agent tool calls through prompt injection can inject metacharacters into target, port, project_path, or project_name values passed to asyncio.create_subprocess_shell, executing commands as the MCP server user.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- report github.com
- web github.com
- web github.com