Skip to content

CVE-2026-117573 hagent through commit 761eec6 OS Command Injection via Arduino and ESP32 MCP Tools

HighCVSS 8.5 EPSS 1.0%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
masc-ucsc hagent <= 761eec627a1e6fb128a2a8ce9245aa595cc2f7af after 761eec627a1e6fb128a2a8ce9245aa595cc2f7af Fixed

Affected products

ProductAffected versionsFixed in
masc-ucsc hagent <= 761eec627a1e6fb128a2a8ce9245aa595cc2f7af No fix listed

References