CVE-2026-117567 Details
Description
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.
A command injection vulnerability has been identified in the esp-mcp tool, specifically in versions through commit 28afddf. This vulnerability allows attackers to execute arbitrary commands by injecting shell metacharacters into parameters of MCP tools. The issue arises from unsanitized user-controlled inputs that are interpolated into shell commands and executed, creating a risk of unauthorized command execution on the server where MCP is running.
To address this vulnerability, it is recommended to sanitize all user-controlled parameters with 'shlex.quote()' before interpolation, or to switch from 'asyncio.create_subprocess_shell()' to 'asyncio.create_subprocess_exec()' with argument lists, which can help prevent command injection by properly handling command arguments.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 27, 2026CISA-ADP
Assessed Nov 2, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/horw/esp-mcp/issues/49 | CISA-ADP | ExploitIssue TrackingTechnical AnalysisVendor |
| https://github.com/horw/esp-mcp | [email protected] | Source CodeVendor |
| https://github.com/horw/esp-mcp/blob/28afddf9ff41ada117bb45fd49b526d3bf89749e/main.py#L80 | [email protected] | Source CodeVendor |
| https://github.com/horw/esp-mcp/issues/49 | [email protected] | ExploitIssue TrackingTechnical AnalysisVendor |
| https://www.vulncheck.com/advisories/esp-mcp-through-commit-28afddf-os-command-injection-via-mcp-tool-parameters | [email protected] | Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| esp-mcp | <= 28afddf9ff41ada117bb45fd49b526d3bf89749e |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 2, 2026 | CVE Modified | CISA-ADP |
| Oct 27, 2026 | New CVE Received | [email protected] |
Volerion