CVE-2026-117573
hagent through commit 761eec6 OS Command Injection via Arduino and ESP32 MCP Tools
CVSS Score
7.8
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-78 |
| Vendor | masc-ucsc |
| Product | hagent |
| Published | Oct 27, 2026 |
Stay Ahead of the Next One
Get instant alerts for masc-ucsc hagent
Be the first to know when new high vulnerabilities affecting masc-ucsc hagent are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected Versions
masc-ucsc / hagent
0 โค 761eec627a1e6fb128a2a8ce9245aa595cc2f7af
References
github.com: https://github.com/masc-ucsc/hagent/issues/98 github.com: https://github.com/masc-ucsc/hagent github.com: https://github.com/masc-ucsc/hagent/blob/761eec627a1e6fb128a2a8ce9245aa595cc2f7af/hagent/mcp/mcp_arduino.py#L776 github.com: https://github.com/masc-ucsc/hagent/blob/761eec627a1e6fb128a2a8ce9245aa595cc2f7af/hagent/mcp/mcp_esp32.py#L682 vulncheck.com: https://www.vulncheck.com/advisories/hagent-through-commit-761eec6-os-command-injection-via-arduino-and-esp32-mcp-tools