CVE-2026-117573
hagent through commit 761eec6 contains an OS command injection …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/masc-ucsc/hagent
- github.com/masc-ucsc/hagent/blob/761eec627a1e6fb128a2a8ce9245aa595cc2f7af/hagent/mcp/mcp_a
- github.com/masc-ucsc/hagent/blob/761eec627a1e6fb128a2a8ce9245aa595cc2f7af/hagent/mcp/mcp_e
- github.com/masc-ucsc/hagent/issues/98
- www.vulncheck.com/advisories/hagent-through-commit-761eec6-os-command-injection-via-arduin
- nvd.nist.gov/vuln/detail/CVE-2026-117573
- cve.org/CVERecord?id=CVE-2026-117573
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.