{"id":"CVE-2026-117573","aliases":[],"url":"https://o3.security/vulnerability/CVE-2026-117573","summary":"hagent through commit 761eec6 OS Command Injection via Arduino and ESP32 MCP Tools","details":"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.","published":"2026-10-27T13:08:03.276Z","modified":"2026-10-28T02:59:49.376455992Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/117xxx/CVE-2026-117573.json"},{"type":"PACKAGE","url":"https://github.com/masc-ucsc/hagent"},{"type":"ARTICLE","url":"https://github.com/masc-ucsc/hagent/blob/761eec627a1e6fb128a2a8ce9245aa595cc2f7af/hagent/mcp/mcp_arduino.py#L776"},{"type":"ARTICLE","url":"https://github.com/masc-ucsc/hagent/blob/761eec627a1e6fb128a2a8ce9245aa595cc2f7af/hagent/mcp/mcp_esp32.py#L682"},{"type":"REPORT","url":"https://github.com/masc-ucsc/hagent/issues/98"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-117573"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/hagent-through-commit-761eec6-os-command-injection-via-arduino-and-esp32-mcp-tools"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T02:59:49.376455992Z"}}