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.
Published: 2026-10-27
Score: 8.5 High
EPSS: n/a
KEV: No
Impact: OS Command Injection
Action: Immediate Patch
AI Analysis

Impact

The vulnerability arises when the MCP tool accepts command parameters that contain shell metacharacters; these values – including target, port, project_path, and project_name – are passed to asyncio.create_subprocess_shell. This exposes the MCP server process to arbitrary OS command execution. The flaw is a classic OS Command Injection (CWE‑78) that allows an attacker to run any command as the MCP server user, granting full system compromise.

Affected Systems

Any deployment of esp‑mcp that includes the code from commit 28afddf is affected. The vendor horw provides the MCP tool, typically running as a server on embedded devices such as Raspberry Pi. No specific product version string is supplied, but any installation that has not been updated past this commit remains vulnerable.

Risk and Exploitability

The CVSS score of 8.5 reflects high severity; the EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog, indicating no known exploits yet. The likely attack vector is remote—the attacker would send specially crafted MCP commands through the exposed server interface. Successful exploitation would execute arbitrary commands with MCP server privileges, permitting full compromise of the host and connected devices.

Generated by OpenCVE AI on October 27, 2026 at 14:39 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update esp‑mcp to a release that has applied the patch for commit 28afddf.
  • Restrict network access to the MCP server or place it behind a secure VPN so that only trusted hosts can connect.
  • Validate or sanitize all MCP tool parameters to prevent shell metacharacters from being passed to the subprocess shell.

Generated by OpenCVE AI on October 27, 2026 at 14:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 27 Oct 2026 13:45:00 +0000

Type Values Removed Values Added
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.
Title esp-mcp through commit 28afddf OS Command Injection via MCP Tool Parameters
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-27T13:08:00.469Z

Reserved: 2026-10-27T11:25:25.707Z

Link: CVE-2026-117567

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-27T14:16:39.173

Modified: 2026-10-27T14:16:39.173

Link: CVE-2026-117567

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-27T14:45:03Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')