{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-117573","id":"CVE-2026-117573","title":"hagent command execution in Arduino and ESP32 tool arguments","description":"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 MC","descriptionLong":"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","updated":"2026-11-04T02:30:47.553094640Z","reserved":"2026-10-27T11:33:16.313Z","status":"Deferred","rejected":false,"assigner":"VulnCheck","metric":{"version":"4.0","score":8.5,"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","rating":"high","source":"VulnCheck"},"metrics":[{"version":"4.0","score":8.5,"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","rating":"high","source":"VulnCheck"},{"version":"4.0","score":8.5,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"high","source":"vulncheck.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"VulnCheck"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"vulncheck.com"}],"rating":"high","products":["masc-ucsc hagent"],"affectedProducts":[{"vendor":"masc-ucsc","product":"hagent","defaultStatus":"unaffected","versions":[{"version":"0","lessThanOrEqual":"761eec627a1e6fb128a2a8ce9245aa595cc2f7af","status":"affected","versionType":"git"}],"platforms":[]}],"packages":[],"cwes":["CWE-78"],"aliases":[],"references":[{"url":"https://github.com/masc-ucsc/hagent/issues/98","tags":["issue-tracking","exploit","report"]},{"url":"https://github.com/masc-ucsc/hagent","tags":["product","package"]},{"url":"https://github.com/masc-ucsc/hagent/blob/761eec627a1e6fb128a2a8ce9245aa595cc2f7af/hagent/mcp/mcp_arduino.py#L776","tags":["technical-description","article"]},{"url":"https://github.com/masc-ucsc/hagent/blob/761eec627a1e6fb128a2a8ce9245aa595cc2f7af/hagent/mcp/mcp_esp32.py#L682","tags":["technical-description","article"]},{"url":"https://www.vulncheck.com/advisories/hagent-through-commit-761eec6-os-command-injection-via-arduino-and-esp32-mcp-tools","tags":["third-party-advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/117xxx/CVE-2026-117573.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-117573","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00701,"epssPercentile":0.54128,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-117573","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-117573","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-117573","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-117573","ok":true,"note":"scored 2026-11-20"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}