{"id":"CVE-2026-117573","aliases":["CVE-2026-117573"],"related":[],"kind":"vulnerability","state":"published","title":"hagent through commit 761eec6 OS Command Injection via Arduino and ESP32 MCP Tools","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-10-27T13:08:03.276Z","modified":"2026-11-02T20:17:36.053Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.5,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.5,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"type":"git","introduced":"0","lastAffected":"761eec627a1e6fb128a2a8ce9245aa595cc2f7af","status":"affected"}],"vendor":"masc-ucsc","product":"hagent","source":"cvelist"}],"references":[{"url":"https://github.com/masc-ucsc/hagent/issues/98","tags":["exploit","issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/masc-ucsc/hagent","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://github.com/masc-ucsc/hagent/blob/761eec627a1e6fb128a2a8ce9245aa595cc2f7af/hagent/mcp/mcp_arduino.py#L776","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/masc-ucsc/hagent/blob/761eec627a1e6fb128a2a8ce9245aa595cc2f7af/hagent/mcp/mcp_esp32.py#L682","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/hagent-through-commit-761eec6-os-command-injection-via-arduino-and-esp32-mcp-tools","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-11-02T19:17:31.196Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-117573","url":"https://www.cve.org/CVERecord?id=CVE-2026-117573","licence":"CVE Terms of Use","modified":"2026-11-02T19:17:53.870Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-117573","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-117573","licence":"Public domain","modified":"2026-11-02T20:17:36.053Z"}],"updatedAt":"2026-11-25T22:59:47.368Z","epss":{"score":0.01032,"percentile":0.6469,"date":"2026-12-01T12:00:22.000Z"}}