CVE-2026-117573
CVE-2026-117573 · hagent through commit 761eec6 OS Command Injection via Arduino and ESP32 MCP Tools
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
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.
CVSS 8.5 · Élevée
- Publication
- Mise à jour
Produits et versions concernés
hagent
- Versions du logiciel
- ≥ 0, ≤ 761eec627a1e6fb128a2a8ce9245aa595cc2f7af: Concernée (git)
Aucun correctif publié
Sources originales
- https://github.com/masc-ucsc/hagent/issues/98
- https://github.com/masc-ucsc/hagent
- https://github.com/masc-ucsc/hagent/blob/761eec627a1e6fb128a2a8ce9245aa595cc2f7af/hagent/mcp/mcp_arduino.py#L776
- https://github.com/masc-ucsc/hagent/blob/761eec627a1e6fb128a2a8ce9245aa595cc2f7af/hagent/mcp/mcp_esp32.py#L682
- https://www.vulncheck.com/advisories/hagent-through-commit-761eec6-os-command-injection-via-arduino-and-esp32-mcp-tools
- https://nvd.nist.gov/vuln/detail/CVE-2026-117573