Skip to content
OpenAdvisories
High · 7.8 CVE-2026-117573 EUVD-2026-110849GHSA-j5hx-w574-wh9m

hagent through commit 761eec6 OS Command Injection via Arduino and ESP32 MCP Tools

Published Oct 27, 2026 · Updated Nov 2, 2026 · Assigned by VulnCheck

Description

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.

Affected products

VendorProductAffectedFixed
masc-ucsc hagent — —

References