{"id":"CVE-2026-117573","published":"2026-10-27T13:08:03Z","modified":"2026-11-02T19:17:53Z","title":"hagent through commit 761eec6 OS Command Injection via Arduino and ESP32 MCP Tools","vendor":"masc-ucsc","product":"hagent","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01032,"percentile":0.6457,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/masc-ucsc/hagent/issues/98","tags":["issue-tracking"]},{"url":"https://github.com/masc-ucsc/hagent","tags":["product"]},{"url":"https://github.com/masc-ucsc/hagent/blob/761eec627a1e6fb128a2a8ce9245aa595cc2f7af/hagent/mcp/mcp_arduino.py#L776","tags":["technical-description"]},{"url":"https://github.com/masc-ucsc/hagent/blob/761eec627a1e6fb128a2a8ce9245aa595cc2f7af/hagent/mcp/mcp_esp32.py#L682","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/hagent-through-commit-761eec6-os-command-injection-via-arduino-and-esp32-mcp-tools","tags":["third-party-advisory"]}],"priority":{"score":18.4,"factors":[{"name":"EPSS percentile","points":12.91},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"masc-ucsc","affectedVersions":[{"vendor":"masc-ucsc","product":"hagent","versions":["<= 761eec627a1e6fb128a2a8ce9245aa595cc2f7af"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-11-02T19:17:31.196834Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-110849","exploited":false,"provenance":"source"}}