7.8
HighCVSS 3.1 · from VulnCheck
CVE-2026-117573
hagent through commit 761eec6 OS Command Injection via Arduino and ESP32 MCP Tools
hagent · OS command injection · CWE-78Affectedhagent
FixNo fix listed yet.
PublishedOct 27, 13:08 · VulnCheck
ScoredOct 27 · 7.8 · VulnCheck
Exploit code publicNone known · checked 21:18 UTC
ExploitedNone known · CISA KEV checked 22:08 UTC
What we know
No known exploitation. CISA KEV, checked 22:08 UTC.
No public exploit code known. Exploit-DB, Metasploit, Nuclei, checked 21:18 UTC.
An attacker needs local access to the machine. CVSS: local.
A successful attack can read and change data and take the service down. CVSS: high impact on confidentiality, integrity and availability.
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 MCP server user.
From VulnCheck
Affected and fixed versions
ProductAffectedFixed inhagentup to 761eec627a1e6fb128a2a8ce9245aa595cc2f7af–
Exploit code
Exploit-DBnone knownMetasploitnone knownNucleinone known