p PatchFirst

CVE-2026-117573

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 · High · EPSS 0.7%

Published
Updated

Affected products and versions

  • hagent

    Versions
    • ≥ 0, ≤ 761eec627a1e6fb128a2a8ce9245aa595cc2f7af: Affected (git)

    No fix published

Original sources

Check your server →