Skip to main content
← All vulnerabilities
CVE-2026-117573EUVD-2026-110849GHSA-J5HX-W574-WH9M

hagent through commit 761eec6 OS Command Injection via Arduino and ESP32 MCP Tools

Published
Last modified
published
Not listed in CISA KEV
None on Exploit-DB, Metasploit or GitHub

Summary

The hagent project, through commit 761eec6, is affected, specifically its Arduino and ESP32 MCP tools. An attacker, or an AI agent manipulated through prompt injection, can send crafted input to these tools that runs arbitrary operating system commands with the privileges of the MCP server user.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original 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.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • masc-ucsc hagent

    through 761eec627a1e6fb128a2a8ce9245aa595cc2f7af

References 5

GitHub · masc-ucsc/hagent

vulncheck.com