| Field | Value |
|---|---|
| CVE / NVD | CVE-2026-117573 |
| Date (index) | 2026-10-27 |
| Affected product (index) | hagent through commit 761eec6 OS Command Injection via Arduino and ESP32 MCP Tools |
| GHSA ID | None published |
| OWASP MCP Top 10 (2025) | MCP05 — Command Injection & Execution |
| Published / disclosed | 2026-10-27 |
| Ecosystem | Source repository |
| Component | masc-ucsc/hagent |
| EPSS score | 0.007010000 (FIRST EPSS, 2026-11-09) |
| CVSS score | 8.5 HIGH 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 |
| CWE | CWE-78 |
| Affected versions | <= 761eec627a1e6fb128a2a8ce9245aa595cc2f7af |
| Fixed versions | None named in the published CVE record |
| Fix status | No fixed version in the published CVE record |
| Exploit status | Public advisory. This note does not include exploit steps. |
| Notes | Updated on 2026-11-09 from the published CVE record and FIRST EPSS. |
hagent through commit 761eec6 contains an OS command injection vulnerability that allows MCP clients to execute shell commands by injecting metacharacters into the args parameter of the hagent_arduino and hagent_esp32 tools. Attackers or prompt-injected agents can supply crafted args interpolated into arduino-cli and idf.py commands run with subprocess.run(shell=True) to execute commands as the MCP server user.
Depends on deployment. Typical MCP cases are a reachable HTTP or SSE listener, a malicious remote MCP server, a poisoned project configuration, or a person opening attacker-influenced content. Developer workstations and shared runners are high-value when the server runs with host access.
The published weakness mapping is CWE-78. Use the linked advisory for the upstream root cause.
MCP connects a model to tools, files, and credentials on a host or network. A flaw in transport checks, path checks, command handling, or token binding can become code execution, credential exposure, or access to another user’s session.
File and function names belong in the linked upstream advisory and patch. This index does not repeat exploit inputs.
Apply the vendor’s patched release or commit. Until then, keep the affected MCP listener off untrusted networks and require authentication on HTTP transports.