Skip to content
HighVulnerability

CVE-2026-117573: hagent OS command injection through args in arduino and esp32 MCP tools

Identifier
CVE-2026-117573
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.

Summary

hagent through commit 761eec6 contains an OS command injection flaw in the args parameter of the hagent_arduino and hagent_esp32 tools. Crafted args are interpolated into arduino-cli and idf.py commands run with subprocess.run(shell=True), so MCP clients, or prompt-injected agents, can execute shell commands as the MCP server user.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.